Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.0009219/0.0009219, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009854/0.0009854, allocations: 160 kB / 24.99 MB, free: 7.773 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.9788/0.9788, allocations: 177 MB / 205.2 MB, free: 5.625 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.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.295e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002189/0.002202, allocations: 2.362 MB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003208, allocations: 0.7283 MB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.003293, allocations: 11.94 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.101e-05/0.003384, allocations: 39.58 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.003549, allocations: 99.14 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.003749, allocations: 115.7 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.003983, allocations: 318.4 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.004081, allocations: 44.91 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.004228, allocations: 167.6 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.004323, allocations: 95.69 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.004346, allocations: 24 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.004368, allocations: 24 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.004401, allocations: 55.75 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.004461, allocations: 87.75 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.00462, allocations: 191.2 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004623, allocations: 4 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004623, allocations: 0 / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.004627, allocations: 0 / 277.3 MB, free: 13.42 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005639/0.005191, allocations: 0.5818 MB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.00522, allocations: 11.98 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.005276, allocations: 48.75 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005466, allocations: 201 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.005485, allocations: 16.88 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.005513, allocations: 24.38 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.005763, allocations: 235.9 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.005784, allocations: 12.06 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.005799, allocations: 12.38 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.005809, allocations: 7.938 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.005942, allocations: 99.84 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.006765, allocations: 1.059 MB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.006994, allocations: 240.2 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.007067, allocations: 78.72 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.156e-05/0.007139, allocations: 15.92 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.00716, allocations: 41.33 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.233e-06/0.007161, allocations: 0 / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008591/0.00802, allocations: 0.9448 MB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.008065, allocations: 144.5 kB / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.008201, allocations: 257.5 kB / 281.3 MB, free: 9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.008216, allocations: 37.7 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.008285, allocations: 191.5 kB / 281.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.008464, allocations: 130.9 kB / 281.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.008525, allocations: 75.8 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.008635, allocations: 0.5079 MB / 282.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-05/0.008703, allocations: 40.97 kB / 282.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.008832, allocations: 204 kB / 282.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.009053, allocations: 282.6 kB / 282.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009055, allocations: 0 / 282.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002841/0.009339, allocations: 289.2 kB / 283.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.00935, allocations: 11.38 kB / 283.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.009356, allocations: 11.94 kB / 283.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.009368, allocations: 4 kB / 283.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.009566, allocations: 91.89 kB / 283.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.009574, allocations: 8 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.00965, allocations: 15.94 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.009666, allocations: 19.98 kB / 283.2 MB, free: 6.938 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 48 * 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.954e-05/0.009746, allocations: 180.4 kB / 283.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.009811, allocations: 39.86 kB / 283.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.009847, allocations: 29.45 kB / 283.5 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.00985, allocations: 8 kB / 283.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.009854, allocations: 4 kB / 283.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009859, allocations: 3.938 kB / 283.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.01059, allocations: 1.023 MB / 284.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01059, allocations: 0 / 284.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.01078, allocations: 88.08 kB / 284.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01079, allocations: 8 kB / 284.6 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.0108, allocations: 8 kB / 284.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.01081, allocations: 7.938 kB / 284.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01081, allocations: 7.984 kB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.01146, allocations: 0.824 MB / 285.4 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.01149, allocations: 27.86 kB / 285.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.01151, allocations: 15.92 kB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01164, allocations: 8 kB / 285.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.01169, allocations: 35.89 kB / 285.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.0117, allocations: 12 kB / 285.5 MB, free: 4.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.01177, allocations: 172.5 kB / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01177, allocations: 0 / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01206, allocations: 68 kB / 285.8 MB, free: 4.227 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.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 (32): * Single equations (assignments): 32 * 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 6.973e-05/0.01213, allocations: 107.1 kB / 285.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.01235, allocations: 192.6 kB / 286.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01236, allocations: 0 / 286.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.01257, allocations: 104.1 kB / 286.2 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.01314, allocations: 68.67 kB / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.01418, allocations: 0.811 MB / 287 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.01426, allocations: 89.23 kB / 287.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.987e-05/0.01436, allocations: 42.94 kB / 287.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.01442, allocations: 28.5 kB / 287.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of SimCode: time 1.863e-06/0.01442, allocations: 0 / 287.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of Templates: time 0.005019/0.01944, allocations: 3.064 MB / 290.3 MB, free: 15.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.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.887192375957966]