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.002041/0.002041, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002412/0.002412, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001654/0.001654, allocations: 55.91 kB / 378.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2621, allocations: 53.36 MB / 431.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003668/0.2658, allocations: 2.226 MB / 433.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2672, allocations: 0.7245 MB / 434.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2673, allocations: 7.938 kB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2675, allocations: 35.59 kB / 434.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.2677, allocations: 103.2 kB / 434.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2681, allocations: 107.8 kB / 434.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.2684, allocations: 306.6 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2686, allocations: 44.91 kB / 435.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2687, allocations: 123.5 kB / 435.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2689, allocations: 127.5 kB / 435.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.269, allocations: 24 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.779e-05/0.269, allocations: 23.94 kB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.2691, allocations: 55.81 kB / 435.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2692, allocations: 99.53 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.2695, allocations: 281 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2695, allocations: 0 / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2695, allocations: 7.938 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2695, allocations: 0 / 435.8 MB, free: 2.473 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.001066/0.2706, allocations: 485.5 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2706, allocations: 12.03 kB / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.2707, allocations: 28.75 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.271, allocations: 195.8 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.2711, allocations: 24.75 kB / 436.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.2711, allocations: 20.38 kB / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.2716, allocations: 247 kB / 436.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2716, allocations: 7.953 kB / 436.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.2716, allocations: 4 kB / 436.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.2716, allocations: 11.98 kB / 436.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.272, allocations: 155.8 kB / 437 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2734, allocations: 0.8951 MB / 437.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.274, allocations: 286.6 kB / 438.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.2742, allocations: 87.34 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2742, allocations: 4 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2742, allocations: 38.56 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.2742, allocations: 0 / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001944/0.2762, allocations: 1.044 MB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.2763, allocations: 136.5 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.2765, allocations: 206.7 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.2766, allocations: 37.69 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2767, allocations: 152.7 kB / 439.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.2768, allocations: 122.9 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2769, allocations: 70.06 kB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.2771, allocations: 346.8 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.2773, allocations: 84.83 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.2775, allocations: 197.9 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.2781, allocations: 305.8 kB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2781, allocations: 4 kB / 441 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006262/0.2787, allocations: 337.3 kB / 441.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2787, allocations: 7.938 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2787, allocations: 4 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2787, allocations: 8 kB / 441.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.2791, allocations: 92.14 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2791, allocations: 16 kB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2793, allocations: 19.98 kB / 441.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.2793, allocations: 16 kB / 441.5 MB, free: 12.36 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.0001425/0.2795, allocations: 145.7 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2796, allocations: 23.86 kB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.2797, allocations: 33.39 kB / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2797, allocations: 4 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2797, allocations: 0 / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2797, allocations: 4 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2811, allocations: 0.8732 MB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2811, allocations: 3.984 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.2815, allocations: 79.91 kB / 442.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.2815, allocations: 11.88 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.2816, allocations: 12.48 kB / 442.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.2816, allocations: 8 kB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.2816, allocations: 8 kB / 442.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.2824, allocations: 0.6963 MB / 443.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.2825, allocations: 27.8 kB / 443.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.2825, allocations: 8 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2828, allocations: 15.98 kB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.2829, allocations: 31.83 kB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.2829, allocations: 19.94 kB / 443.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.2831, allocations: 148.6 kB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2831, allocations: 0 / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.2836, allocations: 60 kB / 443.7 MB, free: 10.03 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.0001262/0.2837, allocations: 111.1 kB / 443.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.2842, allocations: 224.7 kB / 444 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2842, allocations: 4 kB / 444 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.2844, allocations: 127.7 kB / 444.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.2852, allocations: 66.02 kB / 444.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2869, allocations: 0.956 MB / 445.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2871, allocations: 155 kB / 445.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.2872, allocations: 34.97 kB / 445.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2873, allocations: 35.42 kB / 445.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2873, allocations: 0 / 445.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of Templates: time 0.007913/0.2952, allocations: 3.428 MB / 448.8 MB, free: 4.867 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.790088315028697]