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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 98.48 kB / 17.06 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 194.9 kB / 17.99 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 43.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3426, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003498/0.3462, allocations: 2.015 MB / 402.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006155/0.3524, allocations: 3.667 MB / 406.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3526, allocations: 15.88 kB / 406.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.3531, allocations: 179.1 kB / 406.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3533, allocations: 47.58 kB / 406.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.3579, allocations: 1.939 MB / 408.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005427/0.3585, allocations: 0.4987 MB / 409.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3586, allocations: 41.09 kB / 409.1 MB, free: 480 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.3588, allocations: 183.4 kB / 409.3 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.3591, allocations: 171.1 kB / 409.5 MB, free: 124 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.3591, allocations: 24 kB / 409.5 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.3614, allocations: 1.787 MB / 411.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3615, allocations: 119.6 kB / 411.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.3617, allocations: 162.9 kB / 411.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3636, allocations: 1.777 MB / 413.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3636, allocations: 0 / 413.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3636, allocations: 0 / 413.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3636, allocations: 0 / 413.3 MB, free: 12.25 MB / 334.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.001624/0.3652, allocations: 0.8997 MB / 414.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3653, allocations: 8.031 kB / 414.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.3654, allocations: 48.38 kB / 414.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.3659, allocations: 354.3 kB / 414.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.3659, allocations: 16.22 kB / 414.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.366, allocations: 31.89 kB / 414.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.3665, allocations: 307.1 kB / 415 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3665, allocations: 0 / 415 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3665, allocations: 7.984 kB / 415 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3666, allocations: 8 kB / 415 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3668, allocations: 148.7 kB / 415.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.368, allocations: 0.6639 MB / 415.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.3687, allocations: 330.2 kB / 416.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.3689, allocations: 110.7 kB / 416.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3689, allocations: 384 / 416.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.369, allocations: 42.5 kB / 416.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.369, allocations: 0 / 416.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007384/0.3697, allocations: 377 kB / 416.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.3699, allocations: 367.8 kB / 417 MB, free: 8.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.3704, allocations: 413.7 kB / 417.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3705, allocations: 33.7 kB / 417.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3706, allocations: 192.8 kB / 417.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.3707, allocations: 86.8 kB / 417.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3708, allocations: 97.67 kB / 417.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.371, allocations: 358.8 kB / 418.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.3713, allocations: 204.4 kB / 418.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.3717, allocations: 318.3 kB / 418.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.3723, allocations: 397.6 kB / 419 MB, free: 6.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.3723, allocations: 4 kB / 419 MB, free: 6.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001142/0.3734, allocations: 0.6458 MB / 419.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3735, allocations: 4 kB / 419.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.3735, allocations: 11.98 kB / 419.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.374, allocations: 126.5 kB / 419.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3743, allocations: 63.91 kB / 419.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.378, allocations: 4.566 MB / 424.5 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3782, allocations: 47.61 kB / 424.5 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.3783, allocations: 19.94 kB / 424.5 MB, free: 212 kB / 334.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.0002105/0.3785, allocations: 184.7 kB / 424.7 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.3786, allocations: 39.7 kB / 424.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.364e-05/0.3787, allocations: 47.69 kB / 424.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.3787, allocations: 4 kB / 424.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3787, allocations: 0 / 424.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3787, allocations: 4 kB / 424.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.3791, allocations: 349.3 kB / 425.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3791, allocations: 0 / 425.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.3794, allocations: 35.97 kB / 425.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3794, allocations: 7.938 kB / 425.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3794, allocations: 8 kB / 425.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3795, allocations: 0 / 425.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3795, allocations: 0 / 425.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.3802, allocations: 0.5063 MB / 425.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.3802, allocations: 116.5 kB / 425.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.3803, allocations: 12 kB / 425.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3805, allocations: 15.98 kB / 425.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.3806, allocations: 11.98 kB / 425.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3806, allocations: 8 kB / 425.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.3808, allocations: 275.1 kB / 426.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3809, allocations: 0 / 426.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003036/0.3839, allocations: 0.6523 MB / 426.8 MB, free: 13.87 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.002043/0.386, allocations: 0.6773 MB / 427.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3877, allocations: 0.9423 MB / 428.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3878, allocations: 0 / 428.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.388, allocations: 115.9 kB / 428.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.3887, allocations: 118.8 kB / 428.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.3904, allocations: 0.8957 MB / 429.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.3909, allocations: 0.8419 MB / 430.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.3911, allocations: 66.92 kB / 430.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.3911, allocations: 35.44 kB / 430.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3912, allocations: 0 / 430.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Templates: time 0.02174/0.4129, allocations: 12.91 MB / 443.4 MB, free: 13.17 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (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) 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) Reference file matches