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.001463/0.001463, allocations: 187.6 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001148/0.001147, allocations: 90.91 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005141, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3256, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4465, allocations: 77.27 MB / 451.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.4468, allocations: 79.95 kB / 451.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.4578, allocations: 2.587 MB / 454.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4579, allocations: 4 kB / 454.5 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4579, allocations: 0 / 454.5 MB, free: 0.8125 MB / 330.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.0007232/0.4587, allocations: 416.8 kB / 454.9 MB, free: 368 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4587, allocations: 8.031 kB / 454.9 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.4588, allocations: 11.91 kB / 454.9 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.459, allocations: 199 kB / 455.1 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4591, allocations: 12 kB / 455.1 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.4591, allocations: 23.95 kB / 455.1 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.4596, allocations: 138.1 kB / 455.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4596, allocations: 0 / 455.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.4596, allocations: 4 kB / 455.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4597, allocations: 4 kB / 455.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.46, allocations: 103.6 kB / 455.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4612, allocations: 0.5442 MB / 455.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.4615, allocations: 78.56 kB / 456 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.4615, allocations: 0 / 456 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.4615, allocations: 30.56 kB / 456 MB, free: 15.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.396e-06/0.4616, allocations: 3.984 kB / 456 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.4631, allocations: 0.613 MB / 456.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4632, allocations: 55.41 kB / 456.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4633, allocations: 132.3 kB / 456.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4634, allocations: 25.7 kB / 456.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.4635, allocations: 198.4 kB / 457 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.4636, allocations: 39.36 kB / 457.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.4636, allocations: 4 kB / 457.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4637, allocations: 318.8 kB / 457.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.4639, allocations: 35.98 kB / 457.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.4641, allocations: 87.36 kB / 457.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.4643, allocations: 51.94 kB / 457.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4643, allocations: 0 / 457.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004426/0.4648, allocations: 149.5 kB / 457.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4648, allocations: 8 kB / 457.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4648, allocations: 0 / 457.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4648, allocations: 4.188 kB / 457.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.4651, allocations: 43.92 kB / 457.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.4652, allocations: 7.953 kB / 457.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.4653, allocations: 8 kB / 457.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.4653, allocations: 11.98 kB / 457.8 MB, free: 13.17 MB / 346.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.0001595/0.4655, allocations: 131.3 kB / 457.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.4656, allocations: 11.91 kB / 457.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.4656, allocations: 8.938 kB / 457.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4656, allocations: 4 kB / 457.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4657, allocations: 0 / 457.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4657, allocations: 7.953 kB / 457.9 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.4666, allocations: 451.9 kB / 458.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4666, allocations: 4.062 kB / 458.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.4669, allocations: 23.98 kB / 458.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4669, allocations: 7.953 kB / 458.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4669, allocations: 7.984 kB / 458.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.467, allocations: 0 / 458.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.467, allocations: 7.938 kB / 458.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.4675, allocations: 274.6 kB / 458.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.4676, allocations: 89.05 kB / 458.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.4677, allocations: 3.984 kB / 458.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4678, allocations: 4 kB / 458.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.4679, allocations: 16.05 kB / 458.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4679, allocations: 4 kB / 458.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.606e-05/0.468, allocations: 99.2 kB / 458.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.468, allocations: 3.938 kB / 458.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003903/0.4684, allocations: 28 kB / 459 MB, free: 11.88 MB / 346.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.0001631/0.4686, allocations: 95.25 kB / 459 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.469, allocations: 95.83 kB / 459.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.469, allocations: 0 / 459.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.4691, allocations: 43.92 kB / 459.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4695, allocations: 11.95 kB / 459.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4706, allocations: 0.5369 MB / 459.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.471, allocations: 0.7199 MB / 460.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.4711, allocations: 15.44 kB / 460.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4711, allocations: 480 / 460.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.004087/0.4752, allocations: 1.411 MB / 461.9 MB, free: 8.887 MB / 346.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