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.001724/0.001724, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001425/0.001425, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.466/1.466, allocations: 230.6 MB / 258.3 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.002457/0.002457, allocations: 55.91 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2312, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003473/0.2346, allocations: 2.211 MB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2359, allocations: 0.7323 MB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.236, allocations: 7.938 kB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2362, allocations: 39.58 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.2364, allocations: 91.27 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.2368, allocations: 107.8 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.2371, allocations: 310.6 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2373, allocations: 52.56 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2374, allocations: 119.5 kB / 436 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.2376, allocations: 123.5 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.2376, allocations: 23.94 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.2376, allocations: 20 kB / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.2377, allocations: 55.81 kB / 436.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2378, allocations: 103.5 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2381, allocations: 273.8 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2381, allocations: 3.938 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2381, allocations: 0 / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.2381, allocations: 8 kB / 436.6 MB, free: 2.461 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.0009437/0.2391, allocations: 485.5 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2391, allocations: 8.031 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.2392, allocations: 32.75 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.2395, allocations: 199.7 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.2395, allocations: 20.75 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.2396, allocations: 24.38 kB / 437.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.24, allocations: 243 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.2401, allocations: 3.953 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2401, allocations: 12 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2401, allocations: 4 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.2405, allocations: 155.8 kB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2418, allocations: 0.9068 MB / 438.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.2424, allocations: 282.3 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.2426, allocations: 91.34 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.2426, allocations: 4 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2426, allocations: 30.56 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.2426, allocations: 4 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001905/0.2445, allocations: 1.059 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.2446, allocations: 132.5 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.2448, allocations: 210.7 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2448, allocations: 29.7 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.245, allocations: 156.8 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2451, allocations: 127 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2452, allocations: 66.14 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2453, allocations: 338.8 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.2455, allocations: 80.83 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.2458, allocations: 205.9 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.2463, allocations: 298 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2463, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000637/0.247, allocations: 337.5 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.247, allocations: 12.03 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.247, allocations: 4 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.247, allocations: 7.984 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.2474, allocations: 99.83 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2474, allocations: 4 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2476, allocations: 19.98 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.2476, allocations: 16 kB / 442.2 MB, free: 12.34 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.0001428/0.2477, allocations: 149.7 kB / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2478, allocations: 23.86 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.2479, allocations: 37.39 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2479, allocations: 0 / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2479, allocations: 0 / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.248, allocations: 23.84 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.248, allocations: 15.94 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.2483, allocations: 8 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.2483, allocations: 19.95 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000939/0.2493, allocations: 0.5888 MB / 443.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008994/0.2502, allocations: 0.7469 MB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002164/0.2504, allocations: 91.94 kB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.2505, allocations: 140.6 kB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Backend: time 2.31e-07/0.2505, allocations: 0 / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008571/0.2514, allocations: 241.2 kB / 444.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.001746/0.2531, allocations: 1.338 MB / 445.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Templates: time 0.008493/0.2616, allocations: 4.19 MB / 449.8 MB, free: 4.715 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: 4.621821419998014]