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.001648/0.001648, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001678/0.001678, allocations: 213.5 kB / 23.73 MB, free: 4.16 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002572/0.002572, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.267, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003744/0.2707, allocations: 2.221 MB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.2722, allocations: 0.7245 MB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2724, allocations: 7.938 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.2725, allocations: 43.58 kB / 434.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.2729, allocations: 87.27 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.2732, allocations: 119.8 kB / 434.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.2736, allocations: 302.6 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2738, allocations: 47.66 kB / 435.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2739, allocations: 115.5 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2741, allocations: 115.4 kB / 435.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.2742, allocations: 20 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.2742, allocations: 24 kB / 435.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.2743, allocations: 51.77 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2744, allocations: 111.5 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.2748, allocations: 281.1 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2748, allocations: 0 / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2748, allocations: 0 / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.2748, allocations: 0 / 435.8 MB, free: 2.48 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.000984/0.2758, allocations: 489.4 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2758, allocations: 12.03 kB / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.2759, allocations: 32.75 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.2763, allocations: 203.7 kB / 436.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2763, allocations: 12.81 kB / 436.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.2764, allocations: 28.31 kB / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.2769, allocations: 242.9 kB / 436.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2769, allocations: 3.953 kB / 436.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.2769, allocations: 12 kB / 436.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2769, allocations: 4 kB / 436.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.2773, allocations: 167.8 kB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.2786, allocations: 0.8951 MB / 437.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.2792, allocations: 270.7 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2794, allocations: 99.31 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2794, allocations: 8 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.2795, allocations: 38.56 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.2795, allocations: 0 / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001933/0.2814, allocations: 1.032 MB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.2815, allocations: 136.5 kB / 439.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.2817, allocations: 222.6 kB / 439.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2817, allocations: 29.7 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2819, allocations: 152.8 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.282, allocations: 123 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2821, allocations: 70.14 kB / 440 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2823, allocations: 342.8 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2825, allocations: 80.83 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.2828, allocations: 201.9 kB / 440.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.2833, allocations: 301.6 kB / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2833, allocations: 0 / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000663/0.284, allocations: 345.1 kB / 441.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.284, allocations: 11.98 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.284, allocations: 4 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.2841, allocations: 4 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.2845, allocations: 95.83 kB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2845, allocations: 8 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.2846, allocations: 12 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.2847, allocations: 16 kB / 441.4 MB, free: 12.37 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.0001651/0.2848, allocations: 157.9 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.2849, allocations: 23.86 kB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.285, allocations: 33.41 kB / 441.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.285, allocations: 4 kB / 441.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.285, allocations: 0 / 441.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.285, allocations: 3.984 kB / 441.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.2865, allocations: 0.8771 MB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2865, allocations: 4.188 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.2869, allocations: 79.89 kB / 442.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.2869, allocations: 7.938 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.2869, allocations: 15.98 kB / 442.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.2869, allocations: 7.938 kB / 442.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2869, allocations: 4.25 kB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.2878, allocations: 0.7043 MB / 443.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.2879, allocations: 27.78 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.2879, allocations: 15.94 kB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.2882, allocations: 8 kB / 443.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.2882, allocations: 35.83 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2883, allocations: 12 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.2884, allocations: 144.6 kB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2884, allocations: 0 / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000472/0.2889, allocations: 68 kB / 443.6 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.0001365/0.289, allocations: 115.1 kB / 443.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.2895, allocations: 220.2 kB / 444 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2895, allocations: 0 / 444 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.2898, allocations: 120.8 kB / 444.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.2905, allocations: 74.77 kB / 444.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2922, allocations: 0.9559 MB / 445.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2924, allocations: 155 kB / 445.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.2925, allocations: 38.94 kB / 445.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.2926, allocations: 27.44 kB / 445.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2926, allocations: 0 / 445.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Templates: time 0.007518/0.3001, allocations: 3.324 MB / 448.7 MB, free: 4.965 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: 4.861118284985423]