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.002152/0.002152, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002574/0.002574, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001584/0.001584, allocations: 43.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2664, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003734/0.2701, allocations: 2.215 MB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2716, allocations: 0.7322 MB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2717, allocations: 7.938 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2719, allocations: 39.58 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.2722, allocations: 91.33 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.2725, allocations: 115.7 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.2729, allocations: 310.6 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.2731, allocations: 44.58 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.2732, allocations: 123.5 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.2734, allocations: 127.4 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.2734, allocations: 20 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.822e-05/0.2735, allocations: 24 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.2736, allocations: 51.78 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.2737, allocations: 115.4 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.274, allocations: 269.8 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.274, allocations: 4 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.274, allocations: 0 / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.274, allocations: 0 / 436.6 MB, free: 2.43 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.0009839/0.275, allocations: 481.5 kB / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.275, allocations: 16.02 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/0.2751, allocations: 28.75 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.2755, allocations: 203.6 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2755, allocations: 20.81 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.2756, allocations: 20.38 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.276, allocations: 243 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.2761, allocations: 15.88 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2761, allocations: 8 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2761, allocations: 8 kB / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.2765, allocations: 155.8 kB / 437.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.2778, allocations: 0.8874 MB / 438.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.2784, allocations: 294 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2786, allocations: 88.03 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2786, allocations: 7.938 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2786, allocations: 42.48 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.627e-06/0.2786, allocations: 3.984 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001964/0.2806, allocations: 1.043 MB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.2807, allocations: 132.5 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2809, allocations: 210.7 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.281, allocations: 33.7 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2811, allocations: 148.8 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.2812, allocations: 127 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2813, allocations: 70.12 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2814, allocations: 342.8 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2816, allocations: 80.78 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.2819, allocations: 206 kB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.2824, allocations: 290.6 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2824, allocations: 7.938 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006263/0.283, allocations: 345 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2831, allocations: 8 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2831, allocations: 0 / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2831, allocations: 8 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.2835, allocations: 92.14 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2835, allocations: 11.94 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.2837, allocations: 12 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.2837, allocations: 19.98 kB / 442.2 MB, free: 12.31 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.0001402/0.2838, allocations: 149.7 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.2839, allocations: 27.8 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.284, allocations: 29.39 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.284, allocations: 4 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.284, allocations: 4 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.284, allocations: 192 / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2855, allocations: 0.8812 MB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2855, allocations: 4 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.2859, allocations: 79.89 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.2859, allocations: 7.938 kB / 443.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.2859, allocations: 8 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2859, allocations: 8.25 kB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.2859, allocations: 15.86 kB / 443.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/0.2868, allocations: 0.6963 MB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.2869, allocations: 27.8 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.2869, allocations: 8 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.2872, allocations: 15.98 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.2872, allocations: 27.91 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2873, allocations: 15.92 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.2874, allocations: 148.6 kB / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2874, allocations: 0 / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.2879, allocations: 64 kB / 444.4 MB, free: 9.98 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.000133/0.288, allocations: 111.6 kB / 444.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.2885, allocations: 233.1 kB / 444.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2885, allocations: 4 kB / 444.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.2888, allocations: 115.8 kB / 444.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.2895, allocations: 75.94 kB / 444.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2912, allocations: 0.981 MB / 445.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2913, allocations: 155 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.2914, allocations: 27.44 kB / 446.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2914, allocations: 4 kB / 446.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of Templates: time 0.005984/0.2974, allocations: 3.484 MB / 449.6 MB, free: 4.719 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.877967252017697]