Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.689e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003536/0.003563, allocations: 1.931 MB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006725/0.01029, allocations: 3.495 MB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.01045, allocations: 19.75 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.01103, allocations: 195.1 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.01116, allocations: 51.44 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.01603, allocations: 2.045 MB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007134/0.01674, allocations: 0.5103 MB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.01687, allocations: 37.25 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.01747, allocations: 239.5 kB / 280.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.01771, allocations: 139.6 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.01776, allocations: 24 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.02071, allocations: 1.873 MB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.0209, allocations: 127.5 kB / 283 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.02104, allocations: 103.6 kB / 283.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.02377, allocations: 2.127 MB / 285.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.02378, allocations: 0 / 285.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02378, allocations: 0 / 285.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.02379, allocations: 0 / 285.2 MB, free: 4.91 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001699/0.02549, allocations: 0.8274 MB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.02552, allocations: 11.98 kB / 286 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.02566, allocations: 64.66 kB / 286.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.02618, allocations: 302.5 kB / 286.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.0262, allocations: 16.66 kB / 286.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.02628, allocations: 28.38 kB / 286.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.02702, allocations: 0.6094 MB / 287.1 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.02703, allocations: 192 / 287.1 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.02706, allocations: 7.938 kB / 287.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.02707, allocations: 4 kB / 287.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.02738, allocations: 144.7 kB / 287.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.02879, allocations: 0.5662 MB / 287.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.02955, allocations: 318.5 kB / 288.1 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.02976, allocations: 100.8 kB / 288.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.02978, allocations: 4 kB / 288.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.02983, allocations: 46.48 kB / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.02983, allocations: 0 / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008415/0.03067, allocations: 381.4 kB / 288.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002585/0.03093, allocations: 375.8 kB / 289 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.03144, allocations: 405.8 kB / 289.4 MB, free: 424 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.03149, allocations: 37.7 kB / 289.4 MB, free: 380 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.03169, allocations: 200.9 kB / 289.6 MB, free: 172 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.03178, allocations: 91.28 kB / 289.7 MB, free: 80 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.09756/0.1293, allocations: 93.22 kB / 289.8 MB, free: 27.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1294, allocations: 356.9 kB / 290.1 MB, free: 27.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.1298, allocations: 201.9 kB / 290.3 MB, free: 27.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.1302, allocations: 0.6101 MB / 290.9 MB, free: 26.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.1308, allocations: 397 kB / 291.3 MB, free: 26.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1308, allocations: 1 kB / 291.3 MB, free: 26.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001147/0.1319, allocations: 0.6636 MB / 292 MB, free: 26.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1319, allocations: 7.969 kB / 292 MB, free: 26.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/0.132, allocations: 8.375 kB / 292 MB, free: 26.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.1325, allocations: 139.3 kB / 292.1 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.1328, allocations: 59.08 kB / 292.2 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.1353, allocations: 4.182 MB / 296.4 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1355, allocations: 56.03 kB / 296.4 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1356, allocations: 10.19 kB / 296.4 MB, free: 22.74 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.1357, allocations: 177.7 kB / 296.6 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.1358, allocations: 50.3 kB / 296.7 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.1359, allocations: 41.83 kB / 296.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1359, allocations: 6.219 kB / 296.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1359, allocations: 1.125 kB / 296.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1359, allocations: 1.5 kB / 296.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1362, allocations: 264 kB / 297 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1362, allocations: 3 kB / 297 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.1365, allocations: 41 kB / 297 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1365, allocations: 1.75 kB / 297 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1365, allocations: 11.34 kB / 297 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1365, allocations: 2.375 kB / 297 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1365, allocations: 3.938 kB / 297 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.1371, allocations: 0.5026 MB / 297.5 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.1372, allocations: 41.81 kB / 297.6 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.1372, allocations: 12.5 kB / 297.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1374, allocations: 18.25 kB / 297.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.1375, allocations: 12.84 kB / 297.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1375, allocations: 8.781 kB / 297.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.1377, allocations: 274.8 kB / 297.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1377, allocations: 0.9375 kB / 297.9 MB, free: 21.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001678/0.1394, allocations: 0.6559 MB / 298.6 MB, free: 21.93 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.1408, allocations: 0.8069 MB / 299.4 MB, free: 21.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.142, allocations: 0.9197 MB / 300.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.142, allocations: 1.125 kB / 300.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1422, allocations: 117.9 kB / 300.4 MB, free: 21.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.1429, allocations: 110.9 kB / 300.5 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1443, allocations: 0.8746 MB / 301.4 MB, free: 20.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1445, allocations: 237.5 kB / 301.6 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.1447, allocations: 69.86 kB / 301.7 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.1448, allocations: 29.12 kB / 301.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1448, allocations: 0 / 301.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01897/0.1637, allocations: 13.47 MB / 315.2 MB, free: 10.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.742684118915349]