Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009918/0.0009918, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.041/1.041, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.14e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002429/0.002451, allocations: 2.002 MB / 270 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.003299, allocations: 0.4947 MB / 270.5 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.003435, allocations: 7.938 kB / 270.5 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.003601, allocations: 27.78 kB / 270.5 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.003694, allocations: 35.64 kB / 270.5 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.003954, allocations: 39.94 kB / 270.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.004133, allocations: 151.4 kB / 270.7 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.004279, allocations: 53.58 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004409, allocations: 99.78 kB / 270.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.004497, allocations: 39.88 kB / 270.9 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.004522, allocations: 16 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.00454, allocations: 15.94 kB / 270.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.004572, allocations: 43.83 kB / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.004616, allocations: 43.91 kB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.00478, allocations: 111.6 kB / 271.1 MB, free: 3.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004783, allocations: 4 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004784, allocations: 0 / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004788, allocations: 0 / 271.1 MB, free: 3.25 MB / 250.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.000461/0.005249, allocations: 468.1 kB / 271.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.005285, allocations: 8.922 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.00534, allocations: 28.84 kB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.005503, allocations: 156.3 kB / 271.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.005514, allocations: 8.375 kB / 271.8 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.005549, allocations: 24.38 kB / 271.8 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.005733, allocations: 130.3 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.005744, allocations: 192 / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.005759, allocations: 8.375 kB / 272 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005767, allocations: 7.938 kB / 272 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.005854, allocations: 47.95 kB / 272 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.006385, allocations: 466.8 kB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.00649, allocations: 67.03 kB / 272.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.006525, allocations: 19.86 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.006544, allocations: 11.94 kB / 272.6 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.006565, allocations: 33.39 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.006566, allocations: 0 / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005988/0.007165, allocations: 412.2 kB / 273 MB, free: 1.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.007195, allocations: 55.39 kB / 273.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.007292, allocations: 197.2 kB / 273.2 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.007304, allocations: 29.7 kB / 273.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.007369, allocations: 183 kB / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.00739, allocations: 35.69 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.00743, allocations: 51.25 kB / 273.5 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.007535, allocations: 0.4922 MB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.007564, allocations: 16 kB / 274 MB, free: 92 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.007636, allocations: 97.45 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.007735, allocations: 125.4 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.007736, allocations: 0 / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001366/0.007873, allocations: 125.4 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007884, allocations: 4 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.007889, allocations: 4 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.007906, allocations: 4 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.008009, allocations: 35.92 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.008015, allocations: 4.172 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.008049, allocations: 12 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.008058, allocations: 8 kB / 274.5 MB, free: 15.61 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.008133, allocations: 172.5 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.008152, allocations: 7.953 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.008183, allocations: 16.44 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008184, allocations: 0 / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008188, allocations: 3.938 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008192, allocations: 3.984 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.008489, allocations: 416.5 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00849, allocations: 0 / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.00856, allocations: 27.98 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.008561, allocations: 0 / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.00857, allocations: 4 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.008573, allocations: 3.938 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.008575, allocations: 3.938 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.008754, allocations: 267.2 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.008763, allocations: 7.953 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.008775, allocations: 4 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.008812, allocations: 8.094 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.008845, allocations: 15.86 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.00885, allocations: 7.938 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.008894, allocations: 135.2 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008894, allocations: 0 / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.009059, allocations: 28 kB / 275.6 MB, free: 14.41 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.588e-05/0.009134, allocations: 99.23 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.009257, allocations: 75.84 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.00926, allocations: 4 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.009295, allocations: 31.61 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.009498, allocations: 19.25 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.01013, allocations: 382.1 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.01017, allocations: 79.27 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.248e-05/0.01021, allocations: 8.969 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.01024, allocations: 16.5 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01024, allocations: 0 / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Templates: time 0.002411/0.01265, allocations: 0.8488 MB / 277.1 MB, free: 12.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.88552706502378]