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.0009699/0.0009699, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005515/0.005515, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 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 0.9155/0.9155, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.683e-06/1.683e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.766e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002415/0.002443, allocations: 1.945 MB / 327.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.006626, allocations: 3.503 MB / 331.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.006813, allocations: 19.75 kB / 331.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.007235, allocations: 187.1 kB / 331.5 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/0.007332, allocations: 59.44 kB / 331.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.0109, allocations: 2.019 MB / 333.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.01144, allocations: 0.5109 MB / 334.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.01157, allocations: 33.25 kB / 334.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.01181, allocations: 247.5 kB / 334.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.01197, allocations: 135.6 kB / 334.5 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.012, allocations: 24 kB / 334.5 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.01383, allocations: 1.869 MB / 336.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.01403, allocations: 131.4 kB / 336.5 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.619e-05/0.01413, allocations: 111.6 kB / 336.6 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.01602, allocations: 2.097 MB / 338.7 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01603, allocations: 0 / 338.7 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01603, allocations: 0 / 338.7 MB, free: 2.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.01604, allocations: 4 kB / 338.7 MB, free: 2.531 MB / 298.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.00149/0.01753, allocations: 0.8344 MB / 339.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.01758, allocations: 11.98 kB / 339.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.775e-05/0.01767, allocations: 52.66 kB / 339.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.01804, allocations: 290.5 kB / 339.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.01806, allocations: 16.66 kB / 339.9 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.01811, allocations: 32.36 kB / 339.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.01857, allocations: 0.5977 MB / 340.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01858, allocations: 192 / 340.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.01859, allocations: 11.94 kB / 340.5 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.0186, allocations: 8 kB / 340.5 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.0188, allocations: 148.7 kB / 340.7 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.01964, allocations: 0.5544 MB / 341.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.02013, allocations: 317.9 kB / 341.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.02025, allocations: 104.8 kB / 341.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.02027, allocations: 3.938 kB / 341.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.0203, allocations: 46.48 kB / 341.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.0203, allocations: 0 / 341.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005621/0.02086, allocations: 388.3 kB / 342.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.02101, allocations: 367.8 kB / 342.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.02134, allocations: 401.8 kB / 342.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.02137, allocations: 37.7 kB / 342.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.0215, allocations: 200.9 kB / 343.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.02156, allocations: 91.22 kB / 343.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.02168, allocations: 101.5 kB / 343.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.02181, allocations: 354.8 kB / 343.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.02205, allocations: 208.4 kB / 343.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.02246, allocations: 0.6117 MB / 344.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.02289, allocations: 396.7 kB / 344.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02289, allocations: 3.984 kB / 344.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008223/0.02371, allocations: 0.6488 MB / 345.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.02374, allocations: 7.984 kB / 345.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.02377, allocations: 12 kB / 345.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.0241, allocations: 134.3 kB / 345.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.02425, allocations: 55.97 kB / 345.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.02682, allocations: 4.179 MB / 349.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.02694, allocations: 51.69 kB / 349.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.02696, allocations: 12 kB / 349.9 MB, free: 6.523 MB / 314.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.0001552/0.02712, allocations: 177.7 kB / 350.1 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.02716, allocations: 43.66 kB / 350.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.0272, allocations: 43.84 kB / 350.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.0272, allocations: 4.094 kB / 350.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.02721, allocations: 4 kB / 350.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.02721, allocations: 0 / 350.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.02743, allocations: 257.1 kB / 350.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02743, allocations: 0 / 350.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.02759, allocations: 47.91 kB / 350.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.02759, allocations: 4 kB / 350.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.02761, allocations: 12 kB / 350.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.02761, allocations: 0 / 350.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02761, allocations: 0 / 350.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.02807, allocations: 0.5106 MB / 351 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.0281, allocations: 35.72 kB / 351 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.02813, allocations: 15.97 kB / 351 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.02821, allocations: 15.98 kB / 351.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.02825, allocations: 11.97 kB / 351.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.02826, allocations: 4 kB / 351.1 MB, free: 5.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.02846, allocations: 275.1 kB / 351.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02846, allocations: 0 / 351.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001583/0.03004, allocations: 0.648 MB / 352 MB, free: 4.375 MB / 314.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.0009187/0.03096, allocations: 0.8151 MB / 352.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.03186, allocations: 0.9102 MB / 353.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.03186, allocations: 4 kB / 353.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.03199, allocations: 119.9 kB / 353.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.03237, allocations: 124.5 kB / 354 MB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.03343, allocations: 0.8917 MB / 354.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.03362, allocations: 241 kB / 355.1 MB, free: 1.141 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.03367, allocations: 32.48 kB / 355.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03367, allocations: 4 kB / 355.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of Templates: time 0.0131/0.04677, allocations: 12.43 MB / 367.5 MB, free: 4.684 MB / 330.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: 6.13434197101742]