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.001925/0.001925, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002312/0.002312, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001609/0.001609, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003623/0.2597, allocations: 1.936 MB / 433.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2608, allocations: 0.5455 MB / 434.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2609, allocations: 4 kB / 434.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.261, allocations: 19.78 kB / 434.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.2611, allocations: 35.64 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.2614, allocations: 55.88 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.2616, allocations: 147.4 kB / 434.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2618, allocations: 41.73 kB / 434.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.262, allocations: 75.77 kB / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2621, allocations: 55.7 kB / 434.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.2621, allocations: 15.94 kB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.2622, allocations: 20 kB / 434.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.2622, allocations: 43.83 kB / 434.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.2623, allocations: 59.73 kB / 434.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2626, allocations: 169.6 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2626, allocations: 0 / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2626, allocations: 0 / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2626, allocations: 0 / 434.8 MB, free: 3.504 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.0006595/0.2633, allocations: 377.7 kB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2633, allocations: 8.031 kB / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.2635, allocations: 28.83 kB / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.2637, allocations: 146.3 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2637, allocations: 8.375 kB / 435.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.2638, allocations: 20.38 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.2641, allocations: 150.6 kB / 435.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.2641, allocations: 3.953 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2641, allocations: 12 kB / 435.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2641, allocations: 4 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.2643, allocations: 87.94 kB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.2651, allocations: 407.9 kB / 436 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2653, allocations: 78.48 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.2653, allocations: 32.78 kB / 436.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2654, allocations: 4 kB / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.2654, allocations: 38.69 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2654, allocations: 0 / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009843/0.2664, allocations: 450.7 kB / 436.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.2664, allocations: 55.41 kB / 436.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2666, allocations: 137 kB / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2666, allocations: 29.7 kB / 436.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.2667, allocations: 140.1 kB / 436.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.2667, allocations: 47.61 kB / 437 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.2668, allocations: 29.72 kB / 437 MB, free: 1.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2669, allocations: 322.8 kB / 437.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.267, allocations: 31.94 kB / 437.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.2671, allocations: 93.36 kB / 437.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.2673, allocations: 139.7 kB / 437.6 MB, free: 432 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2673, allocations: 0 / 437.6 MB, free: 432 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000277/0.2676, allocations: 161.3 kB / 437.8 MB, free: 264 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2676, allocations: 4 kB / 437.8 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2676, allocations: 4 kB / 437.8 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2677, allocations: 192 / 437.8 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2678, allocations: 39.92 kB / 437.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2678, allocations: 4 kB / 437.8 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.2679, allocations: 15.92 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2679, allocations: 12 kB / 437.8 MB, free: 184 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.0001075/0.268, allocations: 121.8 kB / 438 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2681, allocations: 11.95 kB / 438 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.2681, allocations: 12.72 kB / 438 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2681, allocations: 0 / 438 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2681, allocations: 4 kB / 438 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2681, allocations: 11.92 kB / 438 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.2686, allocations: 359.8 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2686, allocations: 0 / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.2688, allocations: 27.98 kB / 438.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.2688, allocations: 7.938 kB / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2688, allocations: 0 / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2688, allocations: 0 / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2688, allocations: 4 kB / 438.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.2691, allocations: 257.1 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.2692, allocations: 7.984 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.2692, allocations: 7.938 kB / 438.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.2693, allocations: 4 kB / 438.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2693, allocations: 7.984 kB / 438.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.2693, allocations: 8 kB / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.2694, allocations: 95.27 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2694, allocations: 0 / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.2697, allocations: 28 kB / 438.8 MB, free: 15.15 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.0001127/0.2698, allocations: 107.4 kB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.27, allocations: 87.78 kB / 439 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.27, allocations: 0 / 439 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.2701, allocations: 39.92 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2704, allocations: 11.98 kB / 439 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.2712, allocations: 432.8 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.727e-05/0.2713, allocations: 97.58 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.2714, allocations: 16.97 kB / 439.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.2714, allocations: 11.44 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2714, allocations: 0 / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.004162/0.2756, allocations: 0.9602 MB / 440.5 MB, free: 13.34 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/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_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: 4.560327708721161]