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.001089/0.001089, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001251/0.001251, allocations: 170.4 kB / 25.61 MB, free: 8.539 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.9142/0.9142, allocations: 177 MB / 205.9 MB, free: 4.445 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.102e-06/1.102e-06, allocations: 0 / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.126e-05, allocations: 2.312 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.01234/0.01236, allocations: 2.009 MB / 276.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.01319, allocations: 0.5556 MB / 276.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.01328, allocations: 4 kB / 276.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.0134, allocations: 27.73 kB / 276.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.01347, allocations: 32.58 kB / 276.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.01368, allocations: 56.48 kB / 276.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.01385, allocations: 165.1 kB / 276.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.02402, allocations: 41.78 kB / 277 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.02421, allocations: 107.7 kB / 277.1 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.0243, allocations: 47.88 kB / 277.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.02433, allocations: 12 kB / 277.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.562e-05/0.02437, allocations: 16.59 kB / 277.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.0244, allocations: 36.95 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.02445, allocations: 51.84 kB / 277.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.02462, allocations: 115.6 kB / 277.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.02462, allocations: 1.344 kB / 277.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02462, allocations: 0 / 277.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.02462, allocations: 3.938 kB / 277.4 MB, free: 1.035 MB / 250.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.0004376/0.02506, allocations: 472.7 kB / 277.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.02509, allocations: 12.03 kB / 277.8 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.02521, allocations: 40.83 kB / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.02535, allocations: 152.3 kB / 278 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.02537, allocations: 12.38 kB / 278 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.02539, allocations: 16.38 kB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.02554, allocations: 110.6 kB / 278.2 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.02555, allocations: 8.141 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.02556, allocations: 4.375 kB / 278.2 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.02557, allocations: 7.938 kB / 278.2 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.02564, allocations: 52.33 kB / 278.2 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.02615, allocations: 471 kB / 278.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.02624, allocations: 66.95 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.02627, allocations: 15.69 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.02628, allocations: 0 / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.0263, allocations: 33.39 kB / 278.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.0263, allocations: 4 kB / 278.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004848/0.02678, allocations: 387.9 kB / 279.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008043/0.03483, allocations: 55.41 kB / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.03492, allocations: 193.8 kB / 279.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.03493, allocations: 25.7 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.03501, allocations: 183 kB / 279.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.03504, allocations: 43.64 kB / 279.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.03508, allocations: 35.36 kB / 279.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.0352, allocations: 0.5 MB / 280.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.03523, allocations: 11.98 kB / 280.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.03529, allocations: 95.31 kB / 280.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.03538, allocations: 113.4 kB / 280.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.03538, allocations: 0 / 280.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001546/0.03554, allocations: 130.6 kB / 280.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.03555, allocations: 4 kB / 280.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.03556, allocations: 4 kB / 280.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.03557, allocations: 7.984 kB / 280.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.03567, allocations: 31.98 kB / 280.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.03568, allocations: 3.938 kB / 280.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.03573, allocations: 8 kB / 280.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.03573, allocations: 4 kB / 280.6 MB, free: 13.45 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 7.659e-05/0.03581, allocations: 168.5 kB / 280.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.03584, allocations: 11.95 kB / 280.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.03587, allocations: 20.8 kB / 280.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.03587, allocations: 4 kB / 280.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.03587, allocations: 0 / 280.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.03588, allocations: 4 kB / 280.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.03619, allocations: 377.1 kB / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.03619, allocations: 0 / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.03628, allocations: 27.92 kB / 281.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.03628, allocations: 7.938 kB / 281.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.03629, allocations: 0 / 281.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.03629, allocations: 4.062 kB / 281.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.03629, allocations: 7.938 kB / 281.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.03647, allocations: 264.8 kB / 281.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.03648, allocations: 7.953 kB / 281.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.03649, allocations: 8 kB / 281.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.03655, allocations: 0 / 281.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.03657, allocations: 11.92 kB / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.03658, allocations: 4 kB / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.76e-05/0.03663, allocations: 145.8 kB / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03663, allocations: 0 / 281.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000243/0.03687, allocations: 32.03 kB / 281.7 MB, free: 12.29 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 7.174e-05/0.03694, allocations: 94.75 kB / 281.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.03706, allocations: 79.39 kB / 281.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.03706, allocations: 0 / 281.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.0371, allocations: 31.61 kB / 281.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.03735, allocations: 11.98 kB / 281.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.044, allocations: 390.3 kB / 282.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.04404, allocations: 63.34 kB / 282.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.04408, allocations: 16.97 kB / 282.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.04414, allocations: 78.2 kB / 282.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.04414, allocations: 0 / 282.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.008859/0.053, allocations: 0.9457 MB / 283.4 MB, free: 10.53 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 -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.6003662780858576]