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.0009426/0.0009426, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009241/0.0009241, allocations: 160.1 kB / 24.91 MB, free: 8.262 MB / 18.57 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 0.9584/0.9584, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894e-06/1.894e-06, allocations: 3.938 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.534e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003567/0.003592, allocations: 2.051 MB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.004528, allocations: 0.5685 MB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.004621, allocations: 4 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.00474, allocations: 31.72 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.149e-05/0.004831, allocations: 35.66 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.005043, allocations: 43.94 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.005226, allocations: 159.3 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.005364, allocations: 50.41 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.005555, allocations: 107.7 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.005653, allocations: 47.88 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.005677, allocations: 12 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.005738, allocations: 23.98 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.005765, allocations: 31.91 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.005811, allocations: 51.84 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.00599, allocations: 115.6 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005993, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005994, allocations: 3.938 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005998, allocations: 0 / 276.7 MB, free: 13.85 MB / 266.7 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.0004282/0.006426, allocations: 348.2 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.00646, allocations: 11.98 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.00659, allocations: 32.91 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.006752, allocations: 137.6 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.006766, allocations: 12.38 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.006794, allocations: 16.38 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.006959, allocations: 118.6 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.006974, allocations: 8.125 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.006987, allocations: 4.375 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006995, allocations: 7.938 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.007073, allocations: 40.34 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.007502, allocations: 357.3 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.007579, allocations: 54.47 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.007598, allocations: 16.8 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.007611, allocations: 4 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.007629, allocations: 34.56 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.031e-06/0.00763, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004739/0.008104, allocations: 367 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.008136, allocations: 55.41 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.008201, allocations: 141.2 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.008212, allocations: 29.7 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.008259, allocations: 132.2 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.008281, allocations: 43.58 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.008317, allocations: 37.69 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.683e-05/0.008384, allocations: 322.8 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.008401, allocations: 15.98 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.008443, allocations: 62.81 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.008516, allocations: 102.7 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008518, allocations: 4 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000104/0.008622, allocations: 105.5 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.008634, allocations: 8.188 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.008639, allocations: 4 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.008649, allocations: 0 / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.008763, allocations: 43.02 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.008767, allocations: 4 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.008806, allocations: 11.98 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.008812, allocations: 4 kB / 279.4 MB, free: 10.96 MB / 266.7 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 5.942e-05/0.008871, allocations: 125.7 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.00889, allocations: 8 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.008916, allocations: 20.77 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008918, allocations: 0 / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.008919, allocations: 0 / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008922, allocations: 0 / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.009167, allocations: 277.4 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00917, allocations: 0 / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-05/0.009256, allocations: 31.97 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.009258, allocations: 3.938 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.009268, allocations: 4 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.009272, allocations: 7.938 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.009275, allocations: 8 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.009406, allocations: 189.3 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.009415, allocations: 7.953 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.009427, allocations: 7.984 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.009466, allocations: 4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.009493, allocations: 15.91 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.009508, allocations: 7.984 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.74e-05/0.009526, allocations: 23.64 kB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009526, allocations: 0 / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.009669, allocations: 28 kB / 280.1 MB, free: 10.14 MB / 266.7 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 8.398e-05/0.009753, allocations: 84.45 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.009842, allocations: 64.69 kB / 280.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.009846, allocations: 0 / 280.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.009874, allocations: 33.02 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.01004, allocations: 12.17 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.01059, allocations: 362.8 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.01064, allocations: 75.27 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.01067, allocations: 4.656 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.01072, allocations: 67.36 kB / 280.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01072, allocations: 4 kB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of Templates: time 0.002639/0.01336, allocations: 0.9377 MB / 281.8 MB, free: 8.457 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.519754069391638]