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.0009257/0.0009257, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00108/0.00108, allocations: 170 kB / 24.82 MB, free: 9.254 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.9495/0.9495, allocations: 177 MB / 205.1 MB, free: 5.484 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.623e-06/1.623e-06, allocations: 0 / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.262e-05, allocations: 2.312 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002/0.002013, allocations: 2.004 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006764/0.002689, allocations: 0.5608 MB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.002764, allocations: 4 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.002863, allocations: 23.72 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.002924, allocations: 43.64 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.003143, allocations: 47.94 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.003292, allocations: 159.3 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.003408, allocations: 57.69 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.003553, allocations: 95.78 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.003631, allocations: 51.81 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.003654, allocations: 16 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.0037, allocations: 23.94 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.00372, allocations: 27.91 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.003758, allocations: 59.89 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.004166, allocations: 107.6 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004168, allocations: 0 / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004168, allocations: 0 / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.004171, allocations: 0 / 276.6 MB, free: 13.97 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.0003756/0.004547, allocations: 475.9 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.004578, allocations: 11.98 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.285e-05/0.004671, allocations: 32.84 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.004794, allocations: 160.4 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.004806, allocations: 8.375 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.00483, allocations: 20.33 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.004956, allocations: 114.6 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.004967, allocations: 8.109 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.004978, allocations: 8.375 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.004986, allocations: 7.938 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.332e-05/0.005049, allocations: 44.33 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.005495, allocations: 471 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.46e-05/0.00558, allocations: 58.97 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.005605, allocations: 27.66 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.00562, allocations: 4 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.005639, allocations: 33.39 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.00564, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004873/0.006127, allocations: 376 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.00615, allocations: 51.41 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.006233, allocations: 201.8 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.006242, allocations: 33.64 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.006306, allocations: 182.9 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.006326, allocations: 35.69 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.006366, allocations: 47.3 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.006473, allocations: 0.4961 MB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.006492, allocations: 11.98 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.006547, allocations: 92.89 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.006627, allocations: 113.4 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006629, allocations: 0 / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001203/0.006749, allocations: 133.4 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.006759, allocations: 4 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006764, allocations: 4 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.006773, allocations: 4.188 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.006862, allocations: 35.98 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.006867, allocations: 7.938 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.006901, allocations: 4 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.00691, allocations: 11.98 kB / 279.8 MB, free: 10.38 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 6.905e-05/0.006979, allocations: 168.5 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.006996, allocations: 7.953 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.007023, allocations: 16.78 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007024, allocations: 0 / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007025, allocations: 0 / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007028, allocations: 8 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.007302, allocations: 386.2 kB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007303, allocations: 0 / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.007371, allocations: 27.92 kB / 280.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.007373, allocations: 0 / 280.4 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.00738, allocations: 4 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.00738, allocations: 0 / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007381, allocations: 0 / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.007538, allocations: 267.1 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.007547, allocations: 12.05 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.007558, allocations: 3.984 kB / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.007599, allocations: 8 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.007622, allocations: 11.92 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.007626, allocations: 0 / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.00767, allocations: 142.4 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00767, allocations: 0 / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.00784, allocations: 28 kB / 280.9 MB, free: 9.23 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.012e-05/0.00791, allocations: 95.25 kB / 281 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.87e-05/0.008009, allocations: 75.73 kB / 281.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.00801, allocations: 0 / 281.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.008045, allocations: 43.81 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.008252, allocations: 10.81 kB / 281.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.008817, allocations: 386.4 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.008858, allocations: 75.27 kB / 281.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.008893, allocations: 8.969 kB / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.008947, allocations: 90.19 kB / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008948, allocations: 0 / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of Templates: time 0.002406/0.01135, allocations: 0.9183 MB / 282.6 MB, free: 7.473 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.540205684956163]