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.001516/0.001516, allocations: 88.98 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001449/0.001449, allocations: 158.4 kB / 23.95 MB, free: 4.152 MB / 14.72 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.535/1.535, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.748e-05, allocations: 6.219 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003156/0.003184, allocations: 1.932 MB / 326.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004277, allocations: 0.5509 MB / 327.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.004376, allocations: 3.344 kB / 327.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.004508, allocations: 28.11 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.004602, allocations: 35.91 kB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.004871, allocations: 56.41 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.005088, allocations: 153.4 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.005241, allocations: 47.81 kB / 327.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.005448, allocations: 104.1 kB / 327.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.005548, allocations: 45.8 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.005579, allocations: 14 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.005637, allocations: 21.59 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.005678, allocations: 37.19 kB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.005785, allocations: 47 kB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.006061, allocations: 175.7 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006065, allocations: 0.5156 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006066, allocations: 0 / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.006072, allocations: 0 / 328.2 MB, free: 14.45 MB / 302.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.0006788/0.00675, allocations: 369.8 kB / 328.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.006789, allocations: 14.11 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.006944, allocations: 29.77 kB / 328.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.007228, allocations: 144.7 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.007249, allocations: 15.12 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.007287, allocations: 18.28 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.007624, allocations: 144.1 kB / 328.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.007644, allocations: 5.859 kB / 329 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.007663, allocations: 5.906 kB / 329 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.00768, allocations: 11.36 kB / 329 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.007906, allocations: 91.2 kB / 329.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.008694, allocations: 415.4 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.008877, allocations: 70.59 kB / 329.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.008955, allocations: 29.64 kB / 329.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.008974, allocations: 6.781 kB / 329.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.009005, allocations: 36.67 kB / 329.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.009007, allocations: 0 / 329.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00103/0.01004, allocations: 459.3 kB / 330.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.01008, allocations: 53.72 kB / 330.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01022, allocations: 134.4 kB / 330.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.01024, allocations: 30.73 kB / 330.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.01034, allocations: 130.5 kB / 330.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.01038, allocations: 44.77 kB / 330.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.01045, allocations: 35.33 kB / 330.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.0106, allocations: 327.5 kB / 330.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.01069, allocations: 35.17 kB / 330.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.01082, allocations: 87.39 kB / 330.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.01104, allocations: 134.7 kB / 331 MB, free: 12.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01104, allocations: 5.062 kB / 331 MB, free: 12.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002872/0.01133, allocations: 152.4 kB / 331.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01135, allocations: 5.719 kB / 331.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.01136, allocations: 1.719 kB / 331.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.01138, allocations: 7.453 kB / 331.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01155, allocations: 37.84 kB / 331.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.01156, allocations: 7.672 kB / 331.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.01163, allocations: 11.75 kB / 331.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01164, allocations: 6.719 kB / 331.3 MB, free: 12.06 MB / 302.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.00012/0.01176, allocations: 134.2 kB / 331.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.0118, allocations: 8.141 kB / 331.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.01183, allocations: 16.67 kB / 331.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01184, allocations: 5.281 kB / 331.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01184, allocations: 0.6562 kB / 331.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01184, allocations: 0.5625 kB / 331.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.01241, allocations: 371.2 kB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01242, allocations: 1.094 kB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.01256, allocations: 27.41 kB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.01256, allocations: 2.062 kB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01257, allocations: 1.547 kB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01257, allocations: 2.031 kB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.01258, allocations: 5.031 kB / 331.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.01296, allocations: 249.7 kB / 332.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.01297, allocations: 6.422 kB / 332.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.013, allocations: 6.906 kB / 332.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.01309, allocations: 11.16 kB / 332.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01314, allocations: 16.31 kB / 332.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01315, allocations: 2.469 kB / 332.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.323e-05/0.01322, allocations: 103.4 kB / 332.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01322, allocations: 0 / 332.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.0135, allocations: 27.61 kB / 332.3 MB, free: 11.3 MB / 302.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.000134/0.01364, allocations: 97.73 kB / 332.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.01388, allocations: 92.52 kB / 332.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.01388, allocations: 1.094 kB / 332.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.01397, allocations: 38.98 kB / 332.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.01431, allocations: 15.25 kB / 332.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.01504, allocations: 364.6 kB / 332.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01515, allocations: 106.6 kB / 333 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.0152, allocations: 6.453 kB / 333 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.01525, allocations: 18.17 kB / 333 MB, free: 10.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01525, allocations: 0 / 333 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Templates: time 0.003776/0.01902, allocations: 0.8292 MB / 333.8 MB, free: 10.34 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.4188811257481575]