Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001953/0.001953, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002383/0.002383, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2617, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.004228/0.266, allocations: 2.223 MB / 433.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2677, allocations: 0.7206 MB / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.268, allocations: 7.938 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.2682, allocations: 47.52 kB / 434.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.2686, allocations: 91.33 kB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.2691, allocations: 115.7 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.2697, allocations: 298.7 kB / 435.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.2698, allocations: 44.91 kB / 435.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.2701, allocations: 123.5 kB / 435.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.2703, allocations: 111.5 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.2703, allocations: 20 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.568e-05/0.2704, allocations: 20 kB / 435.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.2705, allocations: 51.83 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2706, allocations: 111.5 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.271, allocations: 285 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.271, allocations: 0 / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.271, allocations: 0 / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.271, allocations: 0 / 435.9 MB, free: 2.258 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.001113/0.2721, allocations: 493.4 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2722, allocations: 11.98 kB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.2722, allocations: 32.75 kB / 436.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.2727, allocations: 196 kB / 436.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.2727, allocations: 12.81 kB / 436.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.2728, allocations: 28.36 kB / 436.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.2733, allocations: 242.9 kB / 436.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.2733, allocations: 3.953 kB / 436.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.2733, allocations: 16 kB / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2733, allocations: 4 kB / 436.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.2737, allocations: 163.8 kB / 437 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2751, allocations: 0.8952 MB / 437.9 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.2758, allocations: 282.1 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.276, allocations: 92.03 kB / 438.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.276, allocations: 7.984 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.276, allocations: 46.48 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.276, allocations: 0 / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002076/0.2781, allocations: 1.036 MB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.2782, allocations: 136.5 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.2784, allocations: 210.7 kB / 439.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.2785, allocations: 29.7 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2786, allocations: 152.8 kB / 439.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2787, allocations: 130.9 kB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2788, allocations: 70.08 kB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.279, allocations: 346.8 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2792, allocations: 80.83 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.2795, allocations: 194 kB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.28, allocations: 301.4 kB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.28, allocations: 0 / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006396/0.2806, allocations: 345.5 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2806, allocations: 6.5 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2806, allocations: 4 kB / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.2807, allocations: 11.98 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.281, allocations: 95.83 kB / 441.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.281, allocations: 7.984 kB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2812, allocations: 12.25 kB / 441.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2812, allocations: 20 kB / 441.5 MB, free: 12.14 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.0001519/0.2814, allocations: 149.7 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2815, allocations: 27.86 kB / 441.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.2816, allocations: 33.39 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2816, allocations: 4 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2816, allocations: 0 / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2816, allocations: 7.984 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.283, allocations: 0.8695 MB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.283, allocations: 4.062 kB / 442.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.2834, allocations: 83.89 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.2834, allocations: 7.938 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.2834, allocations: 8 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.2834, allocations: 4 kB / 442.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.2835, allocations: 7.938 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.2844, allocations: 0.7004 MB / 443.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2844, allocations: 31.78 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.2845, allocations: 8 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2847, allocations: 8 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.2848, allocations: 31.89 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2848, allocations: 16 kB / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.285, allocations: 144.5 kB / 443.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.285, allocations: 3.938 kB / 443.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.2855, allocations: 68 kB / 443.7 MB, free: 9.809 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.0001538/0.2856, allocations: 115.1 kB / 443.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.2862, allocations: 219.7 kB / 444 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2862, allocations: 7.938 kB / 444 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.2864, allocations: 120.3 kB / 444.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.2872, allocations: 67.25 kB / 444.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2889, allocations: 0.9675 MB / 445.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.2891, allocations: 151 kB / 445.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.2892, allocations: 34.95 kB / 445.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.2893, allocations: 31.38 kB / 445.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2893, allocations: 0 / 445.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Templates: time 0.008035/0.2974, allocations: 3.327 MB / 448.7 MB, free: 4.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.936490215361118]