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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002136, allocations: 210.8 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] 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.00184/0.00184, allocations: 59.91 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 53.32 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003536/0.2605, allocations: 2.013 MB / 432.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2616, allocations: 0.5805 MB / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.2617, allocations: 0 / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.2618, allocations: 23.78 kB / 432.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.2619, allocations: 31.66 kB / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.2622, allocations: 55.86 kB / 432.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.2624, allocations: 143.5 kB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2626, allocations: 57.52 kB / 433.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2627, allocations: 63.78 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2629, allocations: 67.69 kB / 433.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.2629, allocations: 20 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.263, allocations: 16 kB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.263, allocations: 39.84 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.2631, allocations: 67.67 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.2634, allocations: 176.5 kB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2634, allocations: 4 kB / 433.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2634, allocations: 0 / 433.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2634, allocations: 0 / 433.5 MB, free: 4.277 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.0007043/0.2641, allocations: 446.8 kB / 434 MB, free: 3.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2641, allocations: 8.031 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.2643, allocations: 24.83 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.2646, allocations: 208.1 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2646, allocations: 16.31 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.2647, allocations: 20.33 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.265, allocations: 141.7 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.265, allocations: 12 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.265, allocations: 11.88 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.265, allocations: 4 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.2652, allocations: 83.95 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.2661, allocations: 0.5291 MB / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2663, allocations: 70.56 kB / 435.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.2663, allocations: 28.84 kB / 435.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2663, allocations: 3.984 kB / 435.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2664, allocations: 34.56 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2664, allocations: 192 / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001131/0.2675, allocations: 0.5908 MB / 435.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.2676, allocations: 63.28 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2677, allocations: 136.9 kB / 435.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2677, allocations: 25.7 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2678, allocations: 140.1 kB / 436.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.2679, allocations: 43.64 kB / 436.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.2679, allocations: 37.7 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2681, allocations: 319.9 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.2682, allocations: 31.97 kB / 436.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2683, allocations: 89.33 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.2685, allocations: 134.7 kB / 436.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2685, allocations: 4 kB / 436.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002693/0.2688, allocations: 153.4 kB / 436.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2688, allocations: 4 kB / 436.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2688, allocations: 3.984 kB / 436.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2688, allocations: 8 kB / 436.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2689, allocations: 39.97 kB / 436.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.269, allocations: 11.88 kB / 437 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.269, allocations: 8.188 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.269, allocations: 8 kB / 437 MB, free: 480 kB / 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.0001063/0.2692, allocations: 125.8 kB / 437.1 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.2692, allocations: 7.953 kB / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.2692, allocations: 20.7 kB / 437.1 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2692, allocations: 0 / 437.1 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2692, allocations: 7.875 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2692, allocations: 0 / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.2698, allocations: 452.1 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2698, allocations: 0 / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.27, allocations: 23.98 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.27, allocations: 0 / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.27, allocations: 4 kB / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.27, allocations: 0 / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.27, allocations: 0 / 437.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.2704, allocations: 261 kB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.2704, allocations: 89.05 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2705, allocations: 0 / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.2705, allocations: 4.188 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2706, allocations: 16.05 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.2706, allocations: 7.938 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.2707, allocations: 95.27 kB / 438.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2707, allocations: 0 / 438.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.2709, allocations: 28 kB / 438.1 MB, free: 15.23 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.0001199/0.2711, allocations: 95.25 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.2713, allocations: 92.14 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2713, allocations: 0 / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.2714, allocations: 43.86 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.2717, allocations: 19.86 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008248/0.2725, allocations: 456.9 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.2729, allocations: 0.708 MB / 439.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.2729, allocations: 15.44 kB / 439.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2729, allocations: 0 / 439.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.2765, allocations: 1.499 MB / 441 MB, free: 12.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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