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.0008973/0.0008973, allocations: 84 kB / 21.43 MB, free: 3.129 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.004125/0.004125, allocations: 143.7 kB / 24.68 MB, free: 8.91 MB / 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 0.8464/0.8464, allocations: 173.4 MB / 201.2 MB, free: 9.445 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.763e-06/1.763e-06, allocations: 0 / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.231e-05, allocations: 2.281 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003309/0.003341, allocations: 1.909 MB / 321.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006761/0.004017, allocations: 490.7 kB / 322.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.004103, allocations: 4 kB / 322.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.004214, allocations: 23.78 kB / 322.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.004285, allocations: 35.64 kB / 322.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.004486, allocations: 47.81 kB / 322.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004644, allocations: 151.4 kB / 322.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.004783, allocations: 53.69 kB / 322.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.004901, allocations: 107.7 kB / 322.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.004982, allocations: 43.88 kB / 322.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.005008, allocations: 12 kB / 322.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.005024, allocations: 16 kB / 322.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.00505, allocations: 31.91 kB / 322.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.005093, allocations: 51.84 kB / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.005271, allocations: 171.5 kB / 322.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005275, allocations: 0 / 322.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005276, allocations: 4 kB / 322.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005282, allocations: 0 / 322.8 MB, free: 2.723 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.0004468/0.005729, allocations: 361.7 kB / 323.1 MB, free: 2.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005763, allocations: 8.922 kB / 323.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.005801, allocations: 20.78 kB / 323.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.006006, allocations: 145.5 kB / 323.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.006017, allocations: 16.31 kB / 323.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.006045, allocations: 20.38 kB / 323.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.00628, allocations: 138.6 kB / 323.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.006292, allocations: 192 / 323.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.006306, allocations: 12.36 kB / 323.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.006313, allocations: 7.938 kB / 323.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.006438, allocations: 84.58 kB / 323.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.00693, allocations: 411.9 kB / 324 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.007046, allocations: 74.55 kB / 324.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.007086, allocations: 28.97 kB / 324.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.007104, allocations: 0 / 324.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.007124, allocations: 38.56 kB / 324.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.007125, allocations: 0 / 324.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006372/0.007762, allocations: 462.9 kB / 324.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.00779, allocations: 51.41 kB / 324.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.007874, allocations: 145.1 kB / 324.8 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.007884, allocations: 25.7 kB / 324.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.007944, allocations: 140.2 kB / 324.9 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.007965, allocations: 35.7 kB / 325 MB, free: 356 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.008004, allocations: 37.66 kB / 325 MB, free: 312 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.0081, allocations: 330.7 kB / 325.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.008149, allocations: 31.98 kB / 325.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.008218, allocations: 89.77 kB / 325.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.008336, allocations: 126.7 kB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.008337, allocations: 0 / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001579/0.008495, allocations: 158.2 kB / 325.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.008508, allocations: 8 kB / 325.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.008514, allocations: 0 / 325.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.008526, allocations: 4 kB / 325.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.008625, allocations: 39.92 kB / 325.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.008632, allocations: 7.984 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/0.008668, allocations: 4 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.008675, allocations: 4.094 kB / 325.8 MB, free: 15.46 MB / 298.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.375e-05/0.008749, allocations: 141.6 kB / 325.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.008764, allocations: 12.05 kB / 325.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.008788, allocations: 12.44 kB / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.00879, allocations: 0 / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.008794, allocations: 0 / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008797, allocations: 0 / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.009132, allocations: 379.6 kB / 326.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009133, allocations: 0 / 326.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.009207, allocations: 23.98 kB / 326.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00921, allocations: 0 / 326.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.009219, allocations: 12.05 kB / 326.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.009221, allocations: 4 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009223, allocations: 3.938 kB / 326.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.009438, allocations: 253 kB / 326.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.009447, allocations: 3.953 kB / 326.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.009464, allocations: 11.98 kB / 326.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.009503, allocations: 4 kB / 326.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.009536, allocations: 7.922 kB / 326.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.009539, allocations: 4 kB / 326.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.009582, allocations: 103.3 kB / 326.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009582, allocations: 0 / 326.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.009828, allocations: 28 kB / 326.8 MB, free: 14.4 MB / 298.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 0.0001032/0.009931, allocations: 99.19 kB / 326.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.0101, allocations: 91.81 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0101, allocations: 0 / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.01015, allocations: 44.42 kB / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01036, allocations: 12.55 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.01084, allocations: 381.3 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.01091, allocations: 97.61 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.01094, allocations: 20.44 kB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01094, allocations: 4 kB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Templates: time 0.002025/0.01297, allocations: 1.538 MB / 329.1 MB, free: 12.06 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.98134979698807]