Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2508, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003541/0.2544, allocations: 1.928 MB / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2555, allocations: 0.5492 MB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2556, allocations: 4 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2557, allocations: 27.72 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.2558, allocations: 31.7 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.2561, allocations: 55.88 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.2563, allocations: 143.4 kB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2564, allocations: 57.36 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.2566, allocations: 75.72 kB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2567, allocations: 67.7 kB / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.2568, allocations: 12 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-05/0.2568, allocations: 19.98 kB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.2569, allocations: 31.92 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.2569, allocations: 63.72 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2572, allocations: 174.3 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2572, allocations: 0 / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2572, allocations: 0 / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2572, allocations: 0 / 435.5 MB, free: 3.5 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.0006377/0.2578, allocations: 373.7 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2579, allocations: 8.031 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.258, allocations: 28.83 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2583, allocations: 150.3 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2583, allocations: 8.375 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.2584, allocations: 16.38 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.2587, allocations: 150.6 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2587, allocations: 7.953 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2587, allocations: 8 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2587, allocations: 4 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2589, allocations: 91.94 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.2597, allocations: 407.9 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2599, allocations: 74.55 kB / 436.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.594e-05/0.26, allocations: 32.97 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.26, allocations: 7.938 kB / 436.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.26, allocations: 34.56 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.26, allocations: 0 / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001037/0.2611, allocations: 458.7 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2611, allocations: 55.41 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2613, allocations: 141.5 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2613, allocations: 29.7 kB / 437.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.2614, allocations: 132.2 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.2614, allocations: 43.62 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.2615, allocations: 33.7 kB / 437.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2616, allocations: 330.8 kB / 438.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.2617, allocations: 31.94 kB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2619, allocations: 86.84 kB / 438.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.2621, allocations: 127.8 kB / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2621, allocations: 0 / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002727/0.2624, allocations: 157.4 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2624, allocations: 7.984 kB / 438.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2624, allocations: 3.984 kB / 438.5 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2625, allocations: 8.188 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.2627, allocations: 39.92 kB / 438.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2627, allocations: 4 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.2628, allocations: 7.938 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.2628, allocations: 8 kB / 438.6 MB, free: 192 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.0001073/0.2629, allocations: 129.7 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.2629, allocations: 11.94 kB / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.263, allocations: 16.72 kB / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.263, allocations: 0 / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.263, allocations: 0 / 438.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.263, allocations: 11.94 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.2635, allocations: 363.7 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2635, allocations: 4 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.2637, allocations: 23.98 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2637, allocations: 7.938 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2637, allocations: 3.984 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2637, allocations: 0 / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2637, allocations: 4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.264, allocations: 256.8 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.2641, allocations: 11.92 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2641, allocations: 3.938 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.2642, allocations: 11.98 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2642, allocations: 7.984 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2642, allocations: 4 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.2643, allocations: 99.27 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2643, allocations: 0 / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.2646, allocations: 24 kB / 439.6 MB, free: 15.14 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.0001167/0.2647, allocations: 103.2 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.2649, allocations: 96.17 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2649, allocations: 0 / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.071e-05/0.265, allocations: 35.92 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.2654, allocations: 15.94 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.2662, allocations: 458.5 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2663, allocations: 105.6 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.2663, allocations: 11.44 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2663, allocations: 4 kB / 440.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Templates: time 0.003469/0.2698, allocations: 1.543 MB / 441.9 MB, free: 12.72 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.000981899996987]