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.0008054/0.0008054, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001017/0.001017, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9882/0.9882, allocations: 177 MB / 205.2 MB, free: 5.523 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.301/0.301, allocations: 34.87 MB / 296.6 MB, free: 444 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.313e-06/1.313e-06, allocations: 0 / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.91e-05, allocations: 2.312 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002875/0.002895, allocations: 3.134 MB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.004345, allocations: 1.048 MB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.004495, allocations: 15.88 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.004646, allocations: 63.31 kB / 383 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.004815, allocations: 142.8 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.005232, allocations: 183.4 kB / 383.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.005602, allocations: 485.5 kB / 383.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.005757, allocations: 75.98 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.005976, allocations: 255.5 kB / 384.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.006134, allocations: 139.6 kB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.006175, allocations: 36 kB / 384.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.006269, allocations: 51.98 kB / 384.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.006317, allocations: 79.66 kB / 384.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.006419, allocations: 139.7 kB / 384.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.006751, allocations: 322.7 kB / 384.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006753, allocations: 0 / 384.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006754, allocations: 4 kB / 384.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.006759, allocations: 0 / 384.8 MB, free: 12.26 MB / 362.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.0007533/0.007513, allocations: 0.7182 MB / 385.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.007547, allocations: 8.031 kB / 385.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.007782, allocations: 100.6 kB / 385.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.008048, allocations: 243.4 kB / 385.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.008071, allocations: 29.38 kB / 385.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.008119, allocations: 44.33 kB / 386 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.008482, allocations: 325.7 kB / 386.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.008501, allocations: 12.12 kB / 386.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.008528, allocations: 19.94 kB / 386.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.00854, allocations: 8 kB / 386.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.00878, allocations: 162.7 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.01001, allocations: 1.603 MB / 388.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.01041, allocations: 354.9 kB / 388.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.01054, allocations: 114 kB / 388.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.01056, allocations: 12 kB / 388.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.01059, allocations: 49.31 kB / 388.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.01059, allocations: 0 / 388.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.00163/0.01222, allocations: 1.436 MB / 390 MB, free: 6.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.01229, allocations: 191.9 kB / 390.2 MB, free: 6.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.01246, allocations: 296.2 kB / 390.5 MB, free: 6.055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01248, allocations: 29.7 kB / 390.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.01257, allocations: 247.4 kB / 390.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.01267, allocations: 194.4 kB / 391 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.01275, allocations: 100 kB / 391.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01288, allocations: 0.5234 MB / 391.6 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.01299, allocations: 65.27 kB / 391.7 MB, free: 4.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.01319, allocations: 318.6 kB / 392 MB, free: 4.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.01356, allocations: 435.8 kB / 392.4 MB, free: 3.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01356, allocations: 0 / 392.4 MB, free: 3.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004551/0.01401, allocations: 436.9 kB / 392.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01403, allocations: 8 kB / 392.8 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01404, allocations: 4 kB / 392.8 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01406, allocations: 8 kB / 392.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.01433, allocations: 139.8 kB / 393 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.01434, allocations: 11.94 kB / 393 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01445, allocations: 16.44 kB / 393 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.01447, allocations: 32.3 kB / 393 MB, free: 3.281 MB / 362.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.0001081/0.01458, allocations: 196.3 kB / 393.2 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.01468, allocations: 55.77 kB / 393.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.01484, allocations: 119.3 kB / 393.4 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01484, allocations: 8 kB / 393.4 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.01485, allocations: 0 / 393.4 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.01485, allocations: 7.984 kB / 393.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.01593, allocations: 1.311 MB / 394.7 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01594, allocations: 4 kB / 394.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.01622, allocations: 119.8 kB / 394.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.01623, allocations: 11.94 kB / 394.9 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01625, allocations: 8 kB / 394.9 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01625, allocations: 8 kB / 394.9 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.01626, allocations: 8.25 kB / 394.9 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.01692, allocations: 1.187 MB / 396.1 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.01695, allocations: 43.75 kB / 396.1 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.01699, allocations: 15.94 kB / 396.1 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.01718, allocations: 16 kB / 396.2 MB, free: 0 / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.01724, allocations: 43.81 kB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.01726, allocations: 16 kB / 396.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.688e-05/0.01736, allocations: 201.1 kB / 396.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01736, allocations: 0 / 396.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000405/0.01776, allocations: 104 kB / 396.5 MB, free: 15.64 MB / 378.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.2e-05/0.01786, allocations: 111.1 kB / 396.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.01819, allocations: 269.5 kB / 396.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01819, allocations: 4 kB / 396.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.01833, allocations: 140.4 kB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.01893, allocations: 95.98 kB / 397.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.02032, allocations: 1.224 MB / 398.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.098e-05/0.02041, allocations: 110 kB / 398.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.02053, allocations: 55.28 kB / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.0206, allocations: 36.48 kB / 398.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0206, allocations: 3.938 kB / 398.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of Templates: time 0.0067/0.0273, allocations: 3.848 MB / 402.4 MB, free: 9.703 MB / 378.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 -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: 3.376019112067297]