Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.233, allocations: 53.38 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003603/0.2366, allocations: 2.215 MB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.238, allocations: 0.7245 MB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2382, allocations: 7.938 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2383, allocations: 39.59 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2386, allocations: 87.31 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.2389, allocations: 119.7 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2393, allocations: 298.7 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2395, allocations: 52.56 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2396, allocations: 127.4 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.2398, allocations: 107.5 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.2398, allocations: 24 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.605e-05/0.2399, allocations: 20 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.24, allocations: 55.77 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2401, allocations: 107.5 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.2404, allocations: 281.8 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2404, allocations: 0 / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2404, allocations: 0 / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2404, allocations: 4 kB / 436.6 MB, free: 2.457 MB / 334.1 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.0009618/0.2414, allocations: 485.4 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2414, allocations: 8.031 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.2415, allocations: 32.75 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.2419, allocations: 203.7 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.2419, allocations: 20.75 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.242, allocations: 24.38 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.2424, allocations: 246.9 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2424, allocations: 3.953 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.2425, allocations: 12 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2425, allocations: 4 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.2429, allocations: 155.8 kB / 437.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2442, allocations: 0.8952 MB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.2448, allocations: 278.5 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.2449, allocations: 95.55 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.245, allocations: 4 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.245, allocations: 38.5 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.245, allocations: 0 / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001951/0.247, allocations: 1.047 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.247, allocations: 140.4 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.2473, allocations: 206.7 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.2473, allocations: 33.69 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2474, allocations: 152.8 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.2475, allocations: 123 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2476, allocations: 74.12 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2478, allocations: 338.8 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.248, allocations: 80.83 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.2483, allocations: 202 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.2488, allocations: 310.7 kB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2488, allocations: 0 / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006551/0.2495, allocations: 333.1 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2495, allocations: 12.25 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2495, allocations: 4 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.2495, allocations: 4 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2499, allocations: 99.83 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2499, allocations: 4 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2501, allocations: 15.98 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2501, allocations: 16 kB / 442.2 MB, free: 12.35 MB / 350.1 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.0001557/0.2503, allocations: 149.7 kB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2504, allocations: 23.86 kB / 442.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.2505, allocations: 37.39 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2505, allocations: 4 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2505, allocations: 0 / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2505, allocations: 3.938 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.2519, allocations: 0.8695 MB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.2519, allocations: 8.484 kB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.2523, allocations: 87.91 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.2523, allocations: 11.92 kB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.2523, allocations: 11.98 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.2523, allocations: 7.938 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.2523, allocations: 4 kB / 443.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.2533, allocations: 0.6965 MB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.2533, allocations: 27.8 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.2534, allocations: 16 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.2536, allocations: 11.98 kB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.2537, allocations: 31.89 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2537, allocations: 11.94 kB / 444.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.2539, allocations: 144.6 kB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2539, allocations: 4 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004964/0.2544, allocations: 60 kB / 444.4 MB, free: 10.02 MB / 350.1 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 0.0001512/0.2545, allocations: 118.6 kB / 444.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.2551, allocations: 232.7 kB / 444.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2551, allocations: 4 kB / 444.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.2553, allocations: 115.8 kB / 444.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.2561, allocations: 68.92 kB / 444.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.2578, allocations: 0.9771 MB / 445.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.258, allocations: 159 kB / 446.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.2581, allocations: 27.44 kB / 446.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2581, allocations: 4 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of Templates: time 0.006467/0.2646, allocations: 3.479 MB / 449.6 MB, free: 4.758 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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: 7.734649600926787]