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.001011/0.001011, allocations: 91.5 kB / 21.2 MB, free: 3.375 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: 160.5 kB / 24.55 MB, free: 20 kB / 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.9866/0.9866, allocations: 177 MB / 204.8 MB, free: 5.586 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.142e-06/1.142e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.718e-05, allocations: 2.312 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002866/0.002884, allocations: 2.37 MB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004052, allocations: 0.7439 MB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004162, allocations: 7.938 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.004292, allocations: 43.58 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.004776, allocations: 91.14 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.005062, allocations: 111.7 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.005371, allocations: 322.4 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.00549, allocations: 45.77 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.005664, allocations: 171.6 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.005802, allocations: 95.69 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.005835, allocations: 24 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.264e-05/0.005868, allocations: 20 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.005908, allocations: 51.77 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.005988, allocations: 87.75 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.006207, allocations: 195.2 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006209, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00621, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.006214, allocations: 4 kB / 277.3 MB, free: 13.08 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.0006787/0.006893, allocations: 0.574 MB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.006926, allocations: 11.98 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.007003, allocations: 48.75 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.007244, allocations: 212.9 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.00727, allocations: 16.86 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.007308, allocations: 20.38 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.007638, allocations: 228 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.007654, allocations: 8.078 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.007675, allocations: 12.38 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.007687, allocations: 7.938 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.007864, allocations: 103.6 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009262/0.00879, allocations: 1.063 MB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.009084, allocations: 240.5 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.009179, allocations: 78.7 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.009197, allocations: 11.94 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.009222, allocations: 41.33 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.009223, allocations: 0 / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001127/0.01035, allocations: 0.9562 MB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.0104, allocations: 136.5 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.01057, allocations: 257.5 kB / 281.2 MB, free: 8.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.01059, allocations: 29.7 kB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.01068, allocations: 203.5 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.01076, allocations: 126.9 kB / 281.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.01084, allocations: 71.81 kB / 281.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01097, allocations: 0.5079 MB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-05/0.01106, allocations: 48.95 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.01122, allocations: 204 kB / 282.4 MB, free: 7.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.0115, allocations: 278.6 kB / 282.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01151, allocations: 4 kB / 282.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006166/0.01212, allocations: 289.2 kB / 283 MB, free: 6.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01214, allocations: 11.12 kB / 283 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.01215, allocations: 7.938 kB / 283 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01216, allocations: 4 kB / 283 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.01243, allocations: 91.89 kB / 283.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.01244, allocations: 8 kB / 283.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01255, allocations: 19.94 kB / 283.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.01257, allocations: 20.25 kB / 283.1 MB, free: 6.602 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 0.0001007/0.01267, allocations: 180.4 kB / 283.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.01277, allocations: 35.86 kB / 283.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.01282, allocations: 37.45 kB / 283.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01282, allocations: 4 kB / 283.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01283, allocations: 0 / 283.4 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01283, allocations: 8.109 kB / 283.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.01381, allocations: 1.023 MB / 284.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.01381, allocations: 4 kB / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.01407, allocations: 83.83 kB / 284.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.01407, allocations: 4 kB / 284.5 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.01409, allocations: 8 kB / 284.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.0141, allocations: 7.938 kB / 284.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0141, allocations: 4 kB / 284.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.01464, allocations: 0.8281 MB / 285.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.01467, allocations: 31.84 kB / 285.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.01471, allocations: 12.19 kB / 285.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.01491, allocations: 12 kB / 285.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.01496, allocations: 31.89 kB / 285.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01498, allocations: 12 kB / 285.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.823e-05/0.01508, allocations: 180.5 kB / 285.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01508, allocations: 0 / 285.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.01553, allocations: 64 kB / 285.7 MB, free: 3.891 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 9.154e-05/0.01562, allocations: 115.1 kB / 285.8 MB, free: 3.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.01591, allocations: 188.3 kB / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01591, allocations: 0 / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01603, allocations: 100.3 kB / 286.1 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.01668, allocations: 67.91 kB / 286.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.0177, allocations: 0.8074 MB / 287 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.295e-05/0.01779, allocations: 93.23 kB / 287.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.01789, allocations: 34.97 kB / 287.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.01796, allocations: 28.48 kB / 287.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01796, allocations: 4 kB / 287.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of Templates: time 0.006152/0.02411, allocations: 3.223 MB / 290.3 MB, free: 15.17 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.8059661057777703]