Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.0009051/0.0009052, allocations: 99.77 kB / 16.94 MB, free: 6.445 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.0009366/0.000937, allocations: 185.7 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004772, allocations: 12 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 47.59 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002186/0.1312, allocations: 1.652 MB / 330 MB, free: 2.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.1372, allocations: 3.55 MB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.1375, allocations: 7.875 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.1381, allocations: 215.3 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1382, allocations: 47.78 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.1422, allocations: 1.451 MB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.1427, allocations: 335.3 kB / 335.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1429, allocations: 41.06 kB / 335.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.1431, allocations: 175.4 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1433, allocations: 147.2 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.1434, allocations: 12 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.1453, allocations: 1.342 MB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1454, allocations: 103.7 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1455, allocations: 77.45 kB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1469, allocations: 1.493 MB / 338.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1469, allocations: 0 / 338.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1469, allocations: 0 / 338.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1469, allocations: 0 / 338.9 MB, free: 9.441 MB / 286.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.001374/0.1483, allocations: 0.8373 MB / 339.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1483, allocations: 8.031 kB / 339.8 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.1484, allocations: 51.44 kB / 339.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.1489, allocations: 329.3 kB / 340.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1489, allocations: 20.23 kB / 340.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.149, allocations: 31.89 kB / 340.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.1495, allocations: 315 kB / 340.5 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1495, allocations: 0 / 340.5 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1495, allocations: 8 kB / 340.5 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1495, allocations: 3.938 kB / 340.5 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.1498, allocations: 159.8 kB / 340.7 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.151, allocations: 0.6681 MB / 341.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.1516, allocations: 322.4 kB / 341.7 MB, free: 6.523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1517, allocations: 4.188 kB / 341.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1517, allocations: 38.75 kB / 341.7 MB, free: 6.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1517, allocations: 384 / 341.7 MB, free: 6.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007487/0.1525, allocations: 399 kB / 342.1 MB, free: 6.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/0.1527, allocations: 367.8 kB / 342.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.1531, allocations: 405.8 kB / 342.9 MB, free: 5.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.1532, allocations: 33.7 kB / 342.9 MB, free: 5.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1534, allocations: 196.8 kB / 343.1 MB, free: 4.996 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1535, allocations: 82.8 kB / 343.2 MB, free: 4.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.1535, allocations: 4 kB / 343.2 MB, free: 4.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.1538, allocations: 358.8 kB / 343.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.1541, allocations: 208.2 kB / 343.7 MB, free: 4.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.1546, allocations: 314.3 kB / 344 MB, free: 4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.155, allocations: 245.6 kB / 344.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.155, allocations: 0 / 344.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001144/0.1562, allocations: 0.6498 MB / 344.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1562, allocations: 4 kB / 344.9 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.1562, allocations: 12 kB / 344.9 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.1568, allocations: 126.4 kB / 345.1 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.1571, allocations: 63.95 kB / 345.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.1609, allocations: 4.266 MB / 349.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1612, allocations: 51.61 kB / 349.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1612, allocations: 8 kB / 349.4 MB, free: 14.16 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 (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.000217/0.1614, allocations: 173.8 kB / 349.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1615, allocations: 39.53 kB / 349.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.1616, allocations: 47.69 kB / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1616, allocations: 3.984 kB / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1616, allocations: 8 kB / 349.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1616, allocations: 7.938 kB / 349.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.162, allocations: 345.3 kB / 350 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.162, allocations: 0 / 350 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.1623, allocations: 43.91 kB / 350.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1623, allocations: 4 kB / 350.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1623, allocations: 11.98 kB / 350.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1623, allocations: 0 / 350.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1623, allocations: 0 / 350.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.1631, allocations: 0.5144 MB / 350.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.1632, allocations: 116.5 kB / 350.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.1632, allocations: 12 kB / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1634, allocations: 15.98 kB / 350.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1635, allocations: 19.97 kB / 350.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.1635, allocations: 4 kB / 350.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003725/0.1639, allocations: 271.1 kB / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1639, allocations: 0 / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00254/0.1664, allocations: 0.6484 MB / 351.7 MB, free: 11.8 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 (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.001596/0.168, allocations: 0.6757 MB / 352.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.1694, allocations: 0.9567 MB / 353.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1694, allocations: 0 / 353.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.1696, allocations: 119.9 kB / 353.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.1701, allocations: 102.7 kB / 353.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1716, allocations: 1.004 MB / 354.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.1721, allocations: 0.8457 MB / 355.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.1723, allocations: 74.91 kB / 355.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.1724, allocations: 27.44 kB / 355.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1724, allocations: 3.938 kB / 355.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of Templates: time 0.02423/0.1967, allocations: 12.45 MB / 368 MB, free: 11.39 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches