Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001904/0.001904, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 204.9 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2716, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003377/0.275, allocations: 1.932 MB / 433.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2761, allocations: 0.5493 MB / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.613e-05/0.2762, allocations: 4 kB / 434.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2763, allocations: 23.78 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.2764, allocations: 35.64 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.2767, allocations: 51.89 kB / 434.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.2769, allocations: 143.4 kB / 434.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.277, allocations: 49.7 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.2772, allocations: 75.77 kB / 434.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2773, allocations: 59.64 kB / 434.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2774, allocations: 12 kB / 434.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.2774, allocations: 19.94 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.2775, allocations: 31.92 kB / 434.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.2775, allocations: 67.72 kB / 434.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2778, allocations: 177.5 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2778, allocations: 0 / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2778, allocations: 0 / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2778, allocations: 0 / 434.8 MB, free: 3.297 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.0006278/0.2784, allocations: 373.7 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2785, allocations: 11.98 kB / 435.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2786, allocations: 24.84 kB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.2789, allocations: 150.3 kB / 435.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2789, allocations: 8.375 kB / 435.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.279, allocations: 20.38 kB / 435.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.2793, allocations: 154 kB / 435.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2793, allocations: 7.953 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2793, allocations: 4 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2793, allocations: 4 kB / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.2795, allocations: 91.94 kB / 435.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.2803, allocations: 407.9 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.2804, allocations: 74.55 kB / 436.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.649e-05/0.2805, allocations: 28.84 kB / 436.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2805, allocations: 4 kB / 436.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2806, allocations: 42.69 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.2806, allocations: 0 / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001014/0.2816, allocations: 451.5 kB / 436.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2816, allocations: 55.41 kB / 436.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2818, allocations: 138 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2818, allocations: 33.7 kB / 436.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.2819, allocations: 136.1 kB / 437 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.2819, allocations: 43.61 kB / 437 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.282, allocations: 37.7 kB / 437.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2821, allocations: 322.8 kB / 437.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.2822, allocations: 31.94 kB / 437.4 MB, free: 492 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2823, allocations: 93.53 kB / 437.5 MB, free: 376 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2825, allocations: 130.7 kB / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2825, allocations: 0 / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002823/0.2828, allocations: 157.4 kB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2828, allocations: 4 kB / 437.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2828, allocations: 4 kB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2829, allocations: 4.188 kB / 437.8 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.283, allocations: 39.91 kB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.283, allocations: 4 kB / 437.9 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2831, allocations: 11.98 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2831, allocations: 4 kB / 437.9 MB, free: 15.98 MB / 350.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.0001026/0.2832, allocations: 126.4 kB / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.2833, allocations: 11.89 kB / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.2833, allocations: 20.66 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2833, allocations: 288 / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2833, allocations: 0 / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2833, allocations: 11.94 kB / 438 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.2838, allocations: 363.7 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2838, allocations: 0 / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.284, allocations: 27.98 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.284, allocations: 7.938 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.284, allocations: 0 / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.284, allocations: 0 / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.284, allocations: 7.984 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.2844, allocations: 249.2 kB / 438.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2844, allocations: 7.984 kB / 438.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.2844, allocations: 11.88 kB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.2845, allocations: 7.984 kB / 438.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.2845, allocations: 7.984 kB / 438.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2845, allocations: 4 kB / 438.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.2846, allocations: 99.27 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2846, allocations: 0 / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.2849, allocations: 28 kB / 438.8 MB, free: 14.94 MB / 350.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.000122/0.285, allocations: 103.2 kB / 438.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.2853, allocations: 91.88 kB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2853, allocations: 0 / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.2853, allocations: 35.92 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.2857, allocations: 17.83 kB / 439.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.2864, allocations: 432.8 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2865, allocations: 101.6 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.2866, allocations: 12.97 kB / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.2866, allocations: 15.91 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2866, allocations: 0 / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003836/0.2905, allocations: 0.9542 MB / 440.6 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.487468924373388]