Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 112.1 kB / 17.73 MB, free: 5.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002707/0.002707, allocations: 190.8 kB / 20.68 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 358 MB, free: 8.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 49.45 MB / 407.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003547/0.1257, allocations: 2.001 MB / 409.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007072/0.1328, allocations: 3.674 MB / 413.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.133, allocations: 11.88 kB / 413.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.1337, allocations: 175.1 kB / 413.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1339, allocations: 55.52 kB / 413.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005382/0.1392, allocations: 1.931 MB / 415.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008401/0.1401, allocations: 494.8 kB / 415.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1403, allocations: 49.05 kB / 415.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.1405, allocations: 183.4 kB / 416 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.1408, allocations: 171.1 kB / 416.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.1408, allocations: 20 kB / 416.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.1436, allocations: 1.784 MB / 417.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1439, allocations: 123.6 kB / 418.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1441, allocations: 162.9 kB / 418.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1462, allocations: 1.777 MB / 420 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1462, allocations: 0 / 420 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1462, allocations: 7.938 kB / 420 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1462, allocations: 0 / 420 MB, free: 10.23 MB / 350.1 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.001708/0.1479, allocations: 0.9143 MB / 420.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.148, allocations: 12.03 kB / 420.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1481, allocations: 44.66 kB / 421 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.1487, allocations: 366.5 kB / 421.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.1487, allocations: 20.22 kB / 421.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.1488, allocations: 24 kB / 421.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.1494, allocations: 307.1 kB / 421.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1494, allocations: 4 kB / 421.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.1495, allocations: 8 kB / 421.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1495, allocations: 4 kB / 421.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.1498, allocations: 148.7 kB / 421.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.151, allocations: 0.6757 MB / 422.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.1517, allocations: 323.9 kB / 422.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1519, allocations: 101.2 kB / 422.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.152, allocations: 4 kB / 422.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.152, allocations: 42.5 kB / 423 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.152, allocations: 0 / 423 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008705/0.1529, allocations: 381.9 kB / 423.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002879/0.1532, allocations: 363.8 kB / 423.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.1537, allocations: 417.8 kB / 424.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.1538, allocations: 33.7 kB / 424.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.154, allocations: 192.9 kB / 424.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.1541, allocations: 95.2 kB / 424.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.1542, allocations: 101.7 kB / 424.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1544, allocations: 354.8 kB / 424.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.1548, allocations: 204.4 kB / 425.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.1552, allocations: 322.3 kB / 425.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.1559, allocations: 397.6 kB / 425.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1559, allocations: 0 / 425.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001187/0.1571, allocations: 0.6576 MB / 426.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1571, allocations: 4 kB / 426.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.1571, allocations: 4 kB / 426.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.1576, allocations: 130.5 kB / 426.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.1579, allocations: 63.89 kB / 426.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2302/0.3881, allocations: 4.557 MB / 431.2 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3884, allocations: 41.95 kB / 431.2 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.3885, allocations: 12.22 kB / 431.2 MB, free: 19.73 MB / 350.1 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.0002084/0.3887, allocations: 178.2 kB / 431.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.3888, allocations: 44.89 kB / 431.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.3889, allocations: 46.48 kB / 431.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3889, allocations: 8.094 kB / 431.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.3889, allocations: 1.781 kB / 431.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3889, allocations: 0 / 431.5 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.3892, allocations: 351.7 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3892, allocations: 0.5 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3895, allocations: 38.94 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.3895, allocations: 4.875 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.3896, allocations: 13.11 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3896, allocations: 4.594 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3896, allocations: 2.375 kB / 431.9 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.3901, allocations: 0.5047 MB / 432.4 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.3902, allocations: 113.6 kB / 432.5 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3903, allocations: 15.77 kB / 432.5 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3904, allocations: 16.17 kB / 432.6 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.3905, allocations: 15.45 kB / 432.6 MB, free: 19.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3905, allocations: 9.844 kB / 432.6 MB, free: 19.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.3908, allocations: 271.7 kB / 432.9 MB, free: 19.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3908, allocations: 2.281 kB / 432.9 MB, free: 19.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001839/0.3927, allocations: 0.6443 MB / 433.5 MB, free: 19.1 MB / 350.1 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.001336/0.394, allocations: 0.6795 MB / 434.2 MB, free: 19.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.3956, allocations: 0.9565 MB / 435.1 MB, free: 18.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3956, allocations: 0 / 435.1 MB, free: 18.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3958, allocations: 118.5 kB / 435.3 MB, free: 18.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.3965, allocations: 111.9 kB / 435.4 MB, free: 18.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.398, allocations: 0.9078 MB / 436.3 MB, free: 18.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3984, allocations: 0.8379 MB / 437.1 MB, free: 17.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.3986, allocations: 69.91 kB / 437.2 MB, free: 17.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.3987, allocations: 31.59 kB / 437.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3987, allocations: 3.938 kB / 437.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of Templates: time 0.03617/0.4349, allocations: 12.92 MB / 450.1 MB, free: 13.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.339089064858854]