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.002022/0.002022, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002445/0.002445, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.957 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.001707/0.001707, allocations: 51.92 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2608, allocations: 53.38 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003603/0.2644, allocations: 2.371 MB / 434 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2658, allocations: 0.779 MB / 434.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.2659, allocations: 7.938 kB / 434.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.266, allocations: 35.64 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2663, allocations: 91.27 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.2667, allocations: 123.7 kB / 435 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.2671, allocations: 314.5 kB / 435.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2672, allocations: 44.92 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2674, allocations: 115.6 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2676, allocations: 127.4 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.2676, allocations: 24 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.2676, allocations: 20 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.2677, allocations: 55.77 kB / 435.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2678, allocations: 127.3 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.2682, allocations: 272 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2682, allocations: 4 kB / 436.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2682, allocations: 4 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2682, allocations: 0 / 436.1 MB, free: 2.395 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.0009734/0.2691, allocations: 485.5 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2692, allocations: 16.03 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.2693, allocations: 28.75 kB / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.2696, allocations: 199.7 kB / 436.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2697, allocations: 16.81 kB / 436.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.2697, allocations: 24.38 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.2702, allocations: 247 kB / 437.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2702, allocations: 3.953 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.2702, allocations: 11.94 kB / 437.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.2702, allocations: 4 kB / 437.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.2706, allocations: 159.9 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.272, allocations: 0.9726 MB / 438.3 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005762/0.2726, allocations: 286.1 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.2728, allocations: 91.39 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2728, allocations: 4.625 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2728, allocations: 38.55 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.532e-06/0.2728, allocations: 0 / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001866/0.2747, allocations: 1.043 MB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.2748, allocations: 132.5 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.275, allocations: 202.8 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.275, allocations: 33.7 kB / 440.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.2751, allocations: 156.6 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2752, allocations: 130.9 kB / 440.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.2753, allocations: 70.14 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2755, allocations: 342.7 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.2757, allocations: 84.84 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.2759, allocations: 201.9 kB / 441 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.2764, allocations: 302.1 kB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2764, allocations: 4 kB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006237/0.2771, allocations: 345 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2771, allocations: 8 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2771, allocations: 4 kB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2771, allocations: 4 kB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.2775, allocations: 91.89 kB / 441.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.2775, allocations: 11.94 kB / 441.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.2776, allocations: 16.19 kB / 441.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2777, allocations: 20 kB / 441.8 MB, free: 12.18 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.0001593/0.2778, allocations: 149.7 kB / 442 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.2779, allocations: 23.86 kB / 442 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.278, allocations: 25.41 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.278, allocations: 4 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.278, allocations: 7.984 kB / 442 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.278, allocations: 3.938 kB / 442 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.2795, allocations: 0.9352 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2795, allocations: 4 kB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.28, allocations: 84.14 kB / 443.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.28, allocations: 4 kB / 443.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.28, allocations: 12 kB / 443.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.28, allocations: 7.984 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.28, allocations: 4 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.281, allocations: 0.7003 MB / 443.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.281, allocations: 23.86 kB / 443.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.2811, allocations: 12 kB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.2813, allocations: 11.98 kB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.2814, allocations: 35.78 kB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2814, allocations: 20.17 kB / 443.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.2816, allocations: 140.6 kB / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2816, allocations: 0 / 444 MB, free: 9.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.282, allocations: 68 kB / 444.1 MB, free: 9.785 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.0001318/0.2822, allocations: 111.6 kB / 444.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.2827, allocations: 240.2 kB / 444.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2827, allocations: 0 / 444.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.2829, allocations: 119.8 kB / 444.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.2837, allocations: 69.02 kB / 444.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2853, allocations: 0.9559 MB / 445.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.2857, allocations: 0.7643 MB / 446.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.2859, allocations: 38.95 kB / 446.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.2859, allocations: 23.44 kB / 446.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2859, allocations: 0 / 446.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of Templates: time 0.007359/0.2933, allocations: 3.191 MB / 449.6 MB, free: 4.215 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins/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: 5.017025671899319]