Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.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.000925/0.000925, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000993/0.000993, allocations: 159.8 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9344/0.9344, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2693/0.2693, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.696e-05, allocations: 2.312 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003698/0.003725, allocations: 3.155 MB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.005531, allocations: 1.08 MB / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.005711, allocations: 15.88 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.005885, allocations: 67.36 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.006106, allocations: 134.8 kB / 330.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.006615, allocations: 179.4 kB / 330.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.007019, allocations: 485.5 kB / 331 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.007183, allocations: 84.61 kB / 331.1 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.00743, allocations: 251.5 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.007601, allocations: 139.6 kB / 331.5 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/0.007641, allocations: 32 kB / 331.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.007764, allocations: 59.98 kB / 331.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.007818, allocations: 83.66 kB / 331.7 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.007919, allocations: 135.7 kB / 331.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.00826, allocations: 322.7 kB / 332.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.008264, allocations: 0 / 332.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008266, allocations: 3.938 kB / 332.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.008271, allocations: 0 / 332.1 MB, free: 0.918 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0006951/0.008966, allocations: 0.5987 MB / 332.7 MB, free: 304 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.008999, allocations: 12.02 kB / 332.7 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.009234, allocations: 80.88 kB / 332.8 MB, free: 212 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.009513, allocations: 218.2 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.009535, allocations: 25.38 kB / 333 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.009577, allocations: 44.31 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.009874, allocations: 300.8 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.009893, allocations: 8.125 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.009914, allocations: 19.94 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.009923, allocations: 12 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.01009, allocations: 114.7 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.01118, allocations: 1.169 MB / 334.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.01147, allocations: 287.6 kB / 335 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.01155, allocations: 77.41 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01157, allocations: 8 kB / 335.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.0116, allocations: 58.42 kB / 335.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.0116, allocations: 0 / 335.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001357/0.01296, allocations: 1.107 MB / 336.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.01302, allocations: 191.9 kB / 336.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01314, allocations: 240.8 kB / 336.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.01316, allocations: 29.7 kB / 336.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.01323, allocations: 189.1 kB / 336.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.01332, allocations: 190.3 kB / 337 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.01341, allocations: 102.2 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.01351, allocations: 346.7 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.01357, allocations: 49.28 kB / 337.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.01371, allocations: 227.9 kB / 337.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.01396, allocations: 345.6 kB / 338.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01397, allocations: 3.938 kB / 338.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003016/0.01427, allocations: 317.8 kB / 338.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01429, allocations: 12.03 kB / 338.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.01429, allocations: 8 kB / 338.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01431, allocations: 11.98 kB / 338.4 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.01462, allocations: 159.8 kB / 338.6 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.01463, allocations: 19.92 kB / 338.6 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01474, allocations: 16 kB / 338.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.01476, allocations: 23.94 kB / 338.6 MB, free: 9.773 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001008/0.01486, allocations: 141.7 kB / 338.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.01496, allocations: 47.89 kB / 338.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.01508, allocations: 103.4 kB / 338.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.01509, allocations: 8 kB / 338.9 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.0151, allocations: 4 kB / 338.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0151, allocations: 0 / 338.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.01597, allocations: 0.9019 MB / 339.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01597, allocations: 0 / 339.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.01628, allocations: 145.7 kB / 340 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.01629, allocations: 8 kB / 340 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.0163, allocations: 11.98 kB / 340 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01631, allocations: 8 kB / 340 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.01631, allocations: 7.938 kB / 340 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.01677, allocations: 0.8167 MB / 340.8 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.0168, allocations: 31.75 kB / 340.9 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.01683, allocations: 19.98 kB / 340.9 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.01702, allocations: 16 kB / 340.9 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.01708, allocations: 43.81 kB / 341 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01709, allocations: 12 kB / 341 MB, free: 7.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.01714, allocations: 82.75 kB / 341 MB, free: 7.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01714, allocations: 0 / 341 MB, free: 7.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003833/0.01753, allocations: 100 kB / 341.1 MB, free: 7.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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 9.722e-05/0.01763, allocations: 93.23 kB / 341.2 MB, free: 7.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.01788, allocations: 241.1 kB / 341.5 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.01788, allocations: 0 / 341.5 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01799, allocations: 130 kB / 341.6 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.01856, allocations: 104.2 kB / 341.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.01972, allocations: 0.9293 MB / 342.6 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.152e-05/0.01981, allocations: 117.9 kB / 342.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.01995, allocations: 51.33 kB / 342.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.02012, allocations: 123.3 kB / 342.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02012, allocations: 0 / 342.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of Templates: time 0.00705/0.02717, allocations: 4.462 MB / 347.4 MB, free: 0.9375 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9764512479305267]