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.001588/0.001588, allocations: 118.5 kB / 18.41 MB, free: 4.648 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.001695/0.001695, allocations: 182.7 kB / 21.34 MB, free: 1.723 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.543/1.543, allocations: 222.9 MB / 247 MB, free: 4.211 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.001521/0.001521, allocations: 51.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09676, allocations: 49.44 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003125/0.09992, allocations: 2.002 MB / 410.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.1059, allocations: 3.674 MB / 413.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.1061, allocations: 11.88 kB / 413.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.1066, allocations: 183.1 kB / 414 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1067, allocations: 39.58 kB / 414 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.111, allocations: 1.938 MB / 415.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.1117, allocations: 494.8 kB / 416.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1119, allocations: 49.08 kB / 416.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1121, allocations: 175.3 kB / 416.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1123, allocations: 171.1 kB / 416.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.1124, allocations: 24 kB / 416.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.1148, allocations: 1.791 MB / 418.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.115, allocations: 123.6 kB / 418.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1152, allocations: 155 kB / 418.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1171, allocations: 1.784 MB / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1172, allocations: 0 / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1172, allocations: 0 / 420.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1172, allocations: 0 / 420.7 MB, free: 10.27 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.001612/0.1188, allocations: 0.9144 MB / 421.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1188, allocations: 12.03 kB / 421.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.267e-05/0.1189, allocations: 44.66 kB / 421.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.1194, allocations: 354.5 kB / 422 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1194, allocations: 20.16 kB / 422 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.1195, allocations: 27.98 kB / 422.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.12, allocations: 315 kB / 422.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.12, allocations: 4 kB / 422.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1201, allocations: 12 kB / 422.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.1201, allocations: 3.984 kB / 422.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1204, allocations: 144.7 kB / 422.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1215, allocations: 0.6718 MB / 423.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.1222, allocations: 322.6 kB / 423.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1224, allocations: 108.8 kB / 423.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1224, allocations: 4 kB / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1225, allocations: 38.56 kB / 423.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/0.1225, allocations: 4 kB / 423.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007404/0.1232, allocations: 380.3 kB / 424 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.1234, allocations: 367.9 kB / 424.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.1239, allocations: 413.7 kB / 424.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.124, allocations: 37.7 kB / 424.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1241, allocations: 196.9 kB / 425 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.1242, allocations: 91.16 kB / 425.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.1243, allocations: 101.7 kB / 425.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1245, allocations: 354.8 kB / 425.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.1249, allocations: 208.4 kB / 425.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.1253, allocations: 322.4 kB / 426.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.1259, allocations: 397.6 kB / 426.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.126, allocations: 0 / 426.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001177/0.1271, allocations: 0.6537 MB / 427.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1272, allocations: 8 kB / 427.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.1272, allocations: 4 kB / 427.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.1277, allocations: 134.4 kB / 427.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.128, allocations: 59.97 kB / 427.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1911/0.3191, allocations: 4.556 MB / 431.9 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.3194, allocations: 45.52 kB / 431.9 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.3195, allocations: 14.62 kB / 431.9 MB, free: 19.64 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.0001557/0.3196, allocations: 174.7 kB / 432.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.3197, allocations: 42.56 kB / 432.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.3198, allocations: 42.5 kB / 432.2 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3198, allocations: 7.656 kB / 432.2 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3198, allocations: 0 / 432.2 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3198, allocations: 2.734 kB / 432.2 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3201, allocations: 347.7 kB / 432.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3201, allocations: 3.562 kB / 432.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3204, allocations: 36.86 kB / 432.6 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3204, allocations: 7.5 kB / 432.6 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.3204, allocations: 12.44 kB / 432.6 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3204, allocations: 2.5 kB / 432.6 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3204, allocations: 0 / 432.6 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.321, allocations: 0.5065 MB / 433.1 MB, free: 19.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.321, allocations: 116.1 kB / 433.2 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3211, allocations: 12.64 kB / 433.2 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3213, allocations: 14.45 kB / 433.2 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.3213, allocations: 11.41 kB / 433.3 MB, free: 19.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3213, allocations: 9.969 kB / 433.3 MB, free: 19.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.3216, allocations: 275.2 kB / 433.5 MB, free: 19.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3216, allocations: 0 / 433.5 MB, free: 19.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001487/0.3231, allocations: 0.654 MB / 434.2 MB, free: 19.01 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.001216/0.3243, allocations: 0.6718 MB / 434.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.3257, allocations: 0.9483 MB / 435.8 MB, free: 18.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3257, allocations: 2.219 kB / 435.8 MB, free: 18.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.3259, allocations: 121.4 kB / 435.9 MB, free: 18.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.3266, allocations: 118.7 kB / 436 MB, free: 18.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3279, allocations: 0.9539 MB / 437 MB, free: 17.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.3282, allocations: 0.8369 MB / 437.8 MB, free: 17.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.3283, allocations: 31.91 kB / 437.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3283, allocations: 0 / 437.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of Templates: time 0.01891/0.3473, allocations: 12.09 MB / 450 MB, free: 13.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.536150009022094]