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.001256/0.001256, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001334/0.001334, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 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.455/1.455, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001554/0.001554, allocations: 47.92 kB / 370.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.262, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003374/0.2654, allocations: 2.017 MB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.2662, allocations: 0.5065 MB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2663, allocations: 7.938 kB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.2665, allocations: 19.8 kB / 425.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.2666, allocations: 31.7 kB / 425.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2668, allocations: 43.89 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.267, allocations: 151.4 kB / 425.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2671, allocations: 45.72 kB / 425.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2673, allocations: 79.77 kB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2674, allocations: 63.7 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2674, allocations: 16 kB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.2674, allocations: 12 kB / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.2675, allocations: 31.91 kB / 426.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.2675, allocations: 71.67 kB / 426.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2678, allocations: 172.5 kB / 426.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2678, allocations: 0 / 426.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2678, allocations: 0 / 426.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2678, allocations: 0 / 426.4 MB, free: 11.44 MB / 334.1 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.0006208/0.2684, allocations: 369.7 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2685, allocations: 12.03 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.2685, allocations: 16.84 kB / 426.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.2688, allocations: 138.4 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.2688, allocations: 12.38 kB / 426.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.2688, allocations: 20.33 kB / 426.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.2691, allocations: 145.7 kB / 427.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2691, allocations: 7.984 kB / 427.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.2692, allocations: 4 kB / 427.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2692, allocations: 4 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.2694, allocations: 88.52 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.2702, allocations: 494.9 kB / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2704, allocations: 74.55 kB / 427.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.2704, allocations: 24.84 kB / 427.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2704, allocations: 0 / 427.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2705, allocations: 42.5 kB / 427.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2705, allocations: 0 / 427.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001009/0.2715, allocations: 454.9 kB / 428.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.2715, allocations: 55.34 kB / 428.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2717, allocations: 129.8 kB / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2717, allocations: 25.7 kB / 428.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2718, allocations: 140.1 kB / 428.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2718, allocations: 47.64 kB / 428.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.2719, allocations: 29.7 kB / 428.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.272, allocations: 322.8 kB / 429 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.2721, allocations: 31.98 kB / 429 MB, free: 8.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2722, allocations: 101.8 kB / 429.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.2724, allocations: 131.8 kB / 429.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2724, allocations: 4 kB / 429.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002842/0.2727, allocations: 157.4 kB / 429.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2728, allocations: 4 kB / 429.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2728, allocations: 4 kB / 429.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2728, allocations: 0 / 429.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.273, allocations: 44.16 kB / 429.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.273, allocations: 11.88 kB / 429.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.273, allocations: 4 kB / 429.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2731, allocations: 8 kB / 429.5 MB, free: 8.066 MB / 334.1 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 0.0001285/0.2732, allocations: 121.8 kB / 429.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.2732, allocations: 7.953 kB / 429.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.2733, allocations: 16.36 kB / 429.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2733, allocations: 0 / 429.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2733, allocations: 3.938 kB / 429.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2733, allocations: 8 kB / 429.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.2739, allocations: 415 kB / 430 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2739, allocations: 3.938 kB / 430 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.2741, allocations: 31.92 kB / 430 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2741, allocations: 0 / 430 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2741, allocations: 4 kB / 430 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2741, allocations: 0 / 430 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2741, allocations: 4.062 kB / 430.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.2745, allocations: 245.1 kB / 430.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.2745, allocations: 11.97 kB / 430.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2745, allocations: 4 kB / 430.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.2746, allocations: 8.062 kB / 430.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.2746, allocations: 7.984 kB / 430.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2746, allocations: 8 kB / 430.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.739e-05/0.2747, allocations: 94.64 kB / 430.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2747, allocations: 4 kB / 430.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.275, allocations: 24 kB / 430.5 MB, free: 6.98 MB / 334.1 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.0001324/0.2752, allocations: 103.2 kB / 430.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.2754, allocations: 95.95 kB / 430.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2754, allocations: 0 / 430.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.2755, allocations: 35.92 kB / 430.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2758, allocations: 23.91 kB / 430.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/0.2767, allocations: 428.6 kB / 431.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.277, allocations: 0.7119 MB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.2771, allocations: 12.97 kB / 431.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2771, allocations: 15.44 kB / 431.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2771, allocations: 0 / 431.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of Templates: time 0.004257/0.2814, allocations: 0.9494 MB / 432.8 MB, free: 4.551 MB / 334.1 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: 4.353304177522659]