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.0008008/0.0008008, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001814, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006775/0.0006775, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000862/0.00154, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.049/1.049, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08193/1.131, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.272e-06/1.272e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.714e-06/8.986e-06, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002014/0.002023, allocations: 2.074 MB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005667/0.00259, allocations: 0.5647 MB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.002654, allocations: 7.938 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.002711, allocations: 19.8 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.002766, allocations: 43.64 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.002878, allocations: 55.8 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003015, allocations: 155.3 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003118, allocations: 54.41 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.003313, allocations: 103.8 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.003391, allocations: 47.88 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.003416, allocations: 16 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.003471, allocations: 23.98 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.003494, allocations: 31.88 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.003525, allocations: 39.94 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.00366, allocations: 107.5 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.003669, allocations: 0 / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00367, allocations: 0 / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.003679, allocations: 0 / 248.5 MB, free: 10.24 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.0003874/0.004066, allocations: 368 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.45e-05/0.00409, allocations: 12.62 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.004211, allocations: 114 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004344, allocations: 137.5 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004356, allocations: 12.38 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.004387, allocations: 16.36 kB / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.004509, allocations: 122.6 kB / 249.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.004519, allocations: 4.141 kB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.004529, allocations: 8.312 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004536, allocations: 7.938 kB / 249.3 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.004588, allocations: 36.59 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.004953, allocations: 353.3 kB / 249.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.005024, allocations: 50.53 kB / 249.7 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.005041, allocations: 12.86 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.005052, allocations: 4 kB / 249.8 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.005071, allocations: 38.5 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.005072, allocations: 0 / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006014/0.005673, allocations: 379.8 kB / 250.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.005695, allocations: 51.41 kB / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.005753, allocations: 134.6 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005764, allocations: 29.7 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.005809, allocations: 136.2 kB / 250.5 MB, free: 8.047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.005829, allocations: 43.62 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.005859, allocations: 29.72 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.005923, allocations: 330.7 kB / 250.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.005938, allocations: 15.98 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.00598, allocations: 78.73 kB / 251 MB, free: 7.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.006045, allocations: 90.94 kB / 251.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006048, allocations: 4 kB / 251.1 MB, free: 7.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.11e-05/0.006139, allocations: 113.4 kB / 251.2 MB, free: 7.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.006151, allocations: 8 kB / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006154, allocations: 0 / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006166, allocations: 4 kB / 251.2 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.00628, allocations: 43.95 kB / 251.3 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.00629, allocations: 7.984 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.006322, allocations: 8 kB / 251.3 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006328, allocations: 4 kB / 251.3 MB, free: 7.211 MB / 250.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.085e-05/0.006379, allocations: 121.9 kB / 251.4 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.006394, allocations: 8 kB / 251.4 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.006419, allocations: 24.7 kB / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.00642, allocations: 0 / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.006422, allocations: 0 / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.006424, allocations: 0 / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.00664, allocations: 280.2 kB / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006642, allocations: 0 / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.006718, allocations: 31.92 kB / 251.7 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006726, allocations: 7.953 kB / 251.7 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006728, allocations: 4.062 kB / 251.7 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.006735, allocations: 4 kB / 251.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.006737, allocations: 3.938 kB / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.006739, allocations: 0 / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.006863, allocations: 205.1 kB / 251.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.006874, allocations: 4 kB / 252 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.006911, allocations: 4 kB / 252 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.006932, allocations: 11.92 kB / 252 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.006935, allocations: 4 kB / 252 MB, free: 6.449 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.643e-05/0.006951, allocations: 24.08 kB / 252 MB, free: 6.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006951, allocations: 4.031 kB / 252 MB, free: 6.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.007088, allocations: 28 kB / 252 MB, free: 6.395 MB / 250.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 5.905e-05/0.007147, allocations: 72.42 kB / 252.1 MB, free: 6.316 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.007236, allocations: 72.62 kB / 252.2 MB, free: 6.242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.007243, allocations: 0 / 252.2 MB, free: 6.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.00728, allocations: 41.44 kB / 252.2 MB, free: 6.199 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.007454, allocations: 109.2 kB / 252.3 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.008489, allocations: 330.3 kB / 252.6 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.008524, allocations: 71.33 kB / 252.7 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.008562, allocations: 12.64 kB / 252.7 MB, free: 5.613 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.008613, allocations: 63.38 kB / 252.8 MB, free: 5.551 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008614, allocations: 0 / 252.8 MB, free: 5.551 MB / 250.7 MB Notification: Performance of Templates: time 0.002464/0.01108, allocations: 0.889 MB / 253.7 MB, free: 4.676 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.48822773527354]