Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002744/0.002749, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.405/3.405, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 95.33 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006208/0.000621, allocations: 8 kB / 326.9 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.5953, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003818/0.5992, allocations: 1.647 MB / 376.2 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.6118, allocations: 3.558 MB / 379.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.6124, allocations: 10.81 kB / 379.7 MB, free: 41.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.6136, allocations: 216.9 kB / 379.9 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.6141, allocations: 47.45 kB / 380 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.6242, allocations: 1.442 MB / 381.4 MB, free: 40.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.6257, allocations: 338.6 kB / 381.8 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.6261, allocations: 44.92 kB / 381.8 MB, free: 40.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.6266, allocations: 171.2 kB / 382 MB, free: 40.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.6271, allocations: 143.2 kB / 382.1 MB, free: 40 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.6272, allocations: 11.5 kB / 382.1 MB, free: 40 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006939/0.6342, allocations: 1.347 MB / 383.5 MB, free: 39.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.6347, allocations: 101.4 kB / 383.6 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.6349, allocations: 78.86 kB / 383.6 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004805/0.6398, allocations: 1.495 MB / 385.1 MB, free: 38.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6398, allocations: 0 / 385.1 MB, free: 38.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.6399, allocations: 0 / 385.1 MB, free: 38.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.6399, allocations: 4 kB / 385.1 MB, free: 38.22 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.003731/0.6436, allocations: 0.8334 MB / 386 MB, free: 37.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.6437, allocations: 12.03 kB / 386 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.6439, allocations: 47.44 kB / 386 MB, free: 37.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.6448, allocations: 329.3 kB / 386.4 MB, free: 36.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.6449, allocations: 24.17 kB / 386.4 MB, free: 36.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.645, allocations: 35.89 kB / 386.4 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.646, allocations: 315.1 kB / 386.7 MB, free: 36.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.6461, allocations: 0 / 386.7 MB, free: 36.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.6461, allocations: 7.938 kB / 386.7 MB, free: 36.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6462, allocations: 4 kB / 386.7 MB, free: 36.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.6468, allocations: 155.8 kB / 386.9 MB, free: 36.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.6495, allocations: 0.672 MB / 387.6 MB, free: 35.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.651, allocations: 323.1 kB / 387.9 MB, free: 35.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.6511, allocations: 4.188 kB / 387.9 MB, free: 35.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.6512, allocations: 38.75 kB / 387.9 MB, free: 35.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 4.809e-06/0.6512, allocations: 0 / 387.9 MB, free: 35.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001585/0.6528, allocations: 391.5 kB / 388.3 MB, free: 34.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.653, allocations: 367.8 kB / 388.7 MB, free: 34.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.6539, allocations: 401.8 kB / 389.1 MB, free: 34.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.6541, allocations: 37.7 kB / 389.1 MB, free: 33.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.6543, allocations: 243.2 kB / 389.3 MB, free: 33.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.6545, allocations: 82.81 kB / 389.4 MB, free: 33.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.6545, allocations: 4 kB / 389.4 MB, free: 33.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6547, allocations: 334.8 kB / 389.7 MB, free: 33.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.6555, allocations: 208.2 kB / 389.9 MB, free: 33.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008745/0.6564, allocations: 318.3 kB / 390.3 MB, free: 32.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.6573, allocations: 241.6 kB / 390.5 MB, free: 32.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6573, allocations: 7.938 kB / 390.5 MB, free: 32.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002466/0.6598, allocations: 0.6227 MB / 391.1 MB, free: 31.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.6599, allocations: 4 kB / 391.1 MB, free: 31.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-05/0.66, allocations: 4 kB / 391.1 MB, free: 31.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000958/0.6609, allocations: 138.4 kB / 391.3 MB, free: 31.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.6617, allocations: 59.95 kB / 391.3 MB, free: 31.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.6676, allocations: 4.267 MB / 395.6 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.6683, allocations: 51.42 kB / 395.6 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.6684, allocations: 12 kB / 395.7 MB, free: 26.93 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004077/0.6688, allocations: 177.7 kB / 395.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.669, allocations: 35.53 kB / 395.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.6691, allocations: 43.75 kB / 395.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6692, allocations: 4.062 kB / 395.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6692, allocations: 0 / 395.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.6692, allocations: 7.938 kB / 395.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007516/0.67, allocations: 353.2 kB / 396.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.67, allocations: 0 / 396.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/0.6709, allocations: 43.91 kB / 396.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6709, allocations: 4 kB / 396.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/0.671, allocations: 11.98 kB / 396.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.671, allocations: 0 / 396.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.671, allocations: 0 / 396.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.6725, allocations: 0.515 MB / 396.8 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.6727, allocations: 112.6 kB / 396.9 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6729, allocations: 8 kB / 397 MB, free: 25.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.6733, allocations: 15.98 kB / 397 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.6735, allocations: 15.97 kB / 397 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.6736, allocations: 15.94 kB / 397 MB, free: 25.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005559/0.6741, allocations: 267.1 kB / 397.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6742, allocations: 0 / 397.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004588/0.6788, allocations: 0.6483 MB / 397.9 MB, free: 24.59 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004574/0.6834, allocations: 0.6706 MB / 398.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.6863, allocations: 0.9568 MB / 399.5 MB, free: 22.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6863, allocations: 0 / 399.5 MB, free: 22.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.6869, allocations: 119.9 kB / 399.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.6881, allocations: 104.2 kB / 399.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.6913, allocations: 1.049 MB / 400.8 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.6919, allocations: 0.8575 MB / 401.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.6922, allocations: 27.44 kB / 401.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6922, allocations: 0 / 401.7 MB, free: 20.66 MB / 298.7 MB Notification: Performance of Templates: time 0.04225/0.7345, allocations: 12.88 MB / 414.6 MB, free: 7.766 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches