Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.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.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003308/0.003314, allocations: 189 kB / 16.4 MB, free: 5.621 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.528/3.528, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.0018/0.0018, allocations: 94.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006265, allocations: 11.98 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1531, allocations: 47.58 MB / 374.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004666/0.1578, allocations: 1.589 MB / 376.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1598, allocations: 0.5039 MB / 376.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.16, allocations: 4 kB / 376.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.609e-05/0.1601, allocations: 19.84 kB / 376.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1604, allocations: 35.92 kB / 376.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1607, allocations: 31.91 kB / 376.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1611, allocations: 95.81 kB / 376.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.1614, allocations: 62.12 kB / 376.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1616, allocations: 51.84 kB / 376.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1619, allocations: 59.7 kB / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.1619, allocations: 4 kB / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.162, allocations: 8 kB / 377 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.1621, allocations: 19.92 kB / 377 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.1622, allocations: 53.64 kB / 377.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1625, allocations: 115.9 kB / 377.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1625, allocations: 0 / 377.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1625, allocations: 3.938 kB / 377.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1626, allocations: 0 / 377.2 MB, free: 12.74 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001062/0.1636, allocations: 426.9 kB / 377.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1637, allocations: 8.031 kB / 377.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.384e-05/0.1638, allocations: 11.91 kB / 377.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.1642, allocations: 206.7 kB / 377.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.1643, allocations: 8 kB / 377.8 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.1644, allocations: 23.94 kB / 377.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.1651, allocations: 149.1 kB / 378 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.1652, allocations: 0 / 378 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.1652, allocations: 4 kB / 378 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1652, allocations: 4 kB / 378 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.1658, allocations: 91.94 kB / 378.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.1677, allocations: 0.5366 MB / 378.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.1682, allocations: 78.55 kB / 378.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1683, allocations: 0 / 378.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.1683, allocations: 38.69 kB / 378.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 3.106e-06/0.1684, allocations: 0 / 378.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.002355/0.1707, allocations: 0.6107 MB / 379.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1709, allocations: 51.41 kB / 379.4 MB, free: 10.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1711, allocations: 130.6 kB / 379.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1712, allocations: 29.98 kB / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1714, allocations: 194.4 kB / 379.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.1715, allocations: 47.36 kB / 379.8 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.1715, allocations: 7.938 kB / 379.8 MB, free: 9.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1717, allocations: 318.8 kB / 380.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.172, allocations: 31.98 kB / 380.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.1723, allocations: 94.78 kB / 380.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1726, allocations: 36 kB / 380.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.1726, allocations: 4 kB / 380.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007413/0.1734, allocations: 157.5 kB / 380.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.1735, allocations: 11.95 kB / 380.5 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1735, allocations: 0 / 380.5 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.1735, allocations: 8.031 kB / 380.5 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.174, allocations: 35.92 kB / 380.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.1741, allocations: 4 kB / 380.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1743, allocations: 12.19 kB / 380.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.1743, allocations: 8 kB / 380.5 MB, free: 9.078 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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 prepare postOptimizeDAE: time 0.0002369/0.1746, allocations: 130 kB / 380.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.1747, allocations: 11.81 kB / 380.7 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.1748, allocations: 20.33 kB / 380.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1748, allocations: 0 / 380.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1748, allocations: 0 / 380.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1749, allocations: 0 / 380.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.1763, allocations: 456 kB / 381.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.1763, allocations: 0 / 381.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.1768, allocations: 27.92 kB / 381.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.1768, allocations: 0 / 381.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.1768, allocations: 8.25 kB / 381.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1769, allocations: 0 / 381.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1769, allocations: 3.938 kB / 381.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.1778, allocations: 292.4 kB / 381.4 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.178, allocations: 81.02 kB / 381.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.178, allocations: 8 kB / 381.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.1783, allocations: 7.984 kB / 381.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.1784, allocations: 7.938 kB / 381.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1784, allocations: 0 / 381.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.1786, allocations: 104.6 kB / 381.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.1786, allocations: 4.062 kB / 381.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000654/0.1793, allocations: 28 kB / 381.7 MB, free: 7.789 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.0002054/0.1795, allocations: 95.23 kB / 381.8 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.1801, allocations: 91.84 kB / 381.9 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.1801, allocations: 384 / 381.9 MB, free: 7.594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.1804, allocations: 47.92 kB / 381.9 MB, free: 7.547 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.1809, allocations: 15.94 kB / 381.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1827, allocations: 0.5288 MB / 382.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.1833, allocations: 0.7238 MB / 383.2 MB, free: 6.219 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1835, allocations: 15.44 kB / 383.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of SimCode: time 2.505e-06/0.1835, allocations: 0 / 383.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of Templates: time 0.006935/0.1904, allocations: 1.412 MB / 384.6 MB, free: 4.789 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches