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.001345/0.001345, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.001507/0.001507, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.404/1.404, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 47.53 kB / 300.8 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09793, allocations: 49.44 MB / 350.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003258/0.1012, allocations: 2.052 MB / 352.3 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.1071, allocations: 3.722 MB / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.1074, allocations: 11.88 kB / 356 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.1079, allocations: 163.3 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1082, allocations: 43.69 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.1125, allocations: 1.752 MB / 358 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006543/0.1132, allocations: 498.6 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1133, allocations: 53.05 kB / 358.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.1136, allocations: 187.3 kB / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1139, allocations: 167.2 kB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.1139, allocations: 24 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.1162, allocations: 1.741 MB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1164, allocations: 119.6 kB / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1166, allocations: 163 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1182, allocations: 1.505 MB / 362.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1182, allocations: 4 kB / 362.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1182, allocations: 0 / 362.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1182, allocations: 0 / 362.4 MB, free: 8.562 MB / 302.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.001744/0.12, allocations: 0.8958 MB / 363.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.12, allocations: 8.031 kB / 363.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1202, allocations: 48.38 kB / 363.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.1206, allocations: 346.2 kB / 363.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1207, allocations: 32.33 kB / 363.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.1207, allocations: 28 kB / 363.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.1212, allocations: 307 kB / 364.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1212, allocations: 0 / 364.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.1213, allocations: 12 kB / 364.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1213, allocations: 4 kB / 364.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.1216, allocations: 140.7 kB / 364.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1227, allocations: 0.6755 MB / 364.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.1234, allocations: 318.6 kB / 365.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1236, allocations: 112.8 kB / 365.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1236, allocations: 0 / 365.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1237, allocations: 38.56 kB / 365.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.1237, allocations: 0 / 365.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007071/0.1244, allocations: 382.4 kB / 365.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.1245, allocations: 371.8 kB / 366.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.125, allocations: 413.8 kB / 366.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.125, allocations: 37.7 kB / 366.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1252, allocations: 196.7 kB / 366.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.334e-05/0.1253, allocations: 82.81 kB / 366.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.1254, allocations: 101.7 kB / 366.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1256, allocations: 350.8 kB / 367.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.1259, allocations: 208.4 kB / 367.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.1263, allocations: 317 kB / 367.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.1269, allocations: 397.6 kB / 368.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1269, allocations: 4 kB / 368.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001095/0.128, allocations: 0.6573 MB / 368.8 MB, free: 1.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.128, allocations: 7.125 kB / 368.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.128, allocations: 7.984 kB / 368.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.1285, allocations: 134.4 kB / 368.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1288, allocations: 63.95 kB / 369 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1563/0.2851, allocations: 4.542 MB / 373.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2854, allocations: 53.94 kB / 373.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.2854, allocations: 12.5 kB / 373.6 MB, free: 21.43 MB / 302.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.0002261/0.2857, allocations: 176.9 kB / 373.8 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.2857, allocations: 41.53 kB / 373.8 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.2858, allocations: 47.83 kB / 373.9 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2858, allocations: 3.203 kB / 373.9 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2858, allocations: 0.5938 kB / 373.9 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2859, allocations: 9.094 kB / 373.9 MB, free: 21.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.2862, allocations: 343 kB / 374.2 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2862, allocations: 0 / 374.2 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.2865, allocations: 45.25 kB / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.2865, allocations: 2.172 kB / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2866, allocations: 11.69 kB / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2866, allocations: 1.344 kB / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2866, allocations: 0 / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.2872, allocations: 0.5074 MB / 374.8 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.2873, allocations: 118.4 kB / 374.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.2873, allocations: 11.75 kB / 374.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2875, allocations: 14.61 kB / 374.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.2876, allocations: 17.84 kB / 374.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2876, allocations: 9.422 kB / 375 MB, free: 20.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.2879, allocations: 274 kB / 375.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2879, allocations: 0 / 375.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001904/0.2898, allocations: 0.6459 MB / 375.9 MB, free: 20.79 MB / 302.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.00131/0.2911, allocations: 0.6709 MB / 376.5 MB, free: 20.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2924, allocations: 0.9777 MB / 377.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2924, allocations: 4.703 kB / 377.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2926, allocations: 125.7 kB / 377.6 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.2932, allocations: 107.2 kB / 377.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2946, allocations: 1.052 MB / 378.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.2949, allocations: 0.8373 MB / 379.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.295, allocations: 29.06 kB / 379.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.295, allocations: 0 / 379.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01793/0.313, allocations: 12.06 MB / 391.7 MB, free: 14.29 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/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