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.00102/0.00102, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001021/0.001021, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.586 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.2674/0.2674, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 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 2.064e-06/2.064e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.38e-05, allocations: 3.156 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004091/0.004115, allocations: 3.143 MB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.006004, allocations: 1.063 MB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.006204, allocations: 7.938 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.006375, allocations: 67.31 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.006583, allocations: 134.8 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.007104, allocations: 187.3 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.007548, allocations: 469.6 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.007713, allocations: 87.97 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.007963, allocations: 259.4 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.008139, allocations: 135.6 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.008183, allocations: 32 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.008304, allocations: 55.97 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.008361, allocations: 83.66 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.008487, allocations: 135.7 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.008903, allocations: 326.7 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.008907, allocations: 0 / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008909, allocations: 0 / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.008918, allocations: 4 kB / 384.9 MB, free: 11.94 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.0009362/0.009854, allocations: 0.7143 MB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.009895, allocations: 16.03 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.01015, allocations: 92.64 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.01042, allocations: 247.3 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.01044, allocations: 25.38 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.01049, allocations: 40.33 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.01086, allocations: 329.7 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.01088, allocations: 20.08 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.0109, allocations: 11.94 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.01092, allocations: 12 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.01114, allocations: 155.8 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.01255, allocations: 1.607 MB / 388.1 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.013, allocations: 354.6 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01312, allocations: 114 kB / 388.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01314, allocations: 8 kB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.01317, allocations: 49.33 kB / 388.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.01317, allocations: 0 / 388.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001635/0.01481, allocations: 1.436 MB / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.01488, allocations: 187.9 kB / 390.3 MB, free: 6.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.01506, allocations: 300.2 kB / 390.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01509, allocations: 33.7 kB / 390.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.0152, allocations: 251.4 kB / 390.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.0153, allocations: 186.4 kB / 391 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.01539, allocations: 104 kB / 391.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01553, allocations: 0.5195 MB / 391.6 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01563, allocations: 69.25 kB / 391.7 MB, free: 4.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.01585, allocations: 314.6 kB / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.01623, allocations: 435.8 kB / 392.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01623, allocations: 4 kB / 392.4 MB, free: 3.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004879/0.01672, allocations: 432.9 kB / 392.9 MB, free: 3.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01673, allocations: 8 kB / 392.9 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.01674, allocations: 4 kB / 392.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01676, allocations: 12.44 kB / 392.9 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.01703, allocations: 139.8 kB / 393 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.01704, allocations: 15.92 kB / 393 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01715, allocations: 20 kB / 393.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.01718, allocations: 20.31 kB / 393.1 MB, free: 2.961 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.000121/0.0173, allocations: 200.3 kB / 393.3 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.01739, allocations: 51.77 kB / 393.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.01755, allocations: 119.4 kB / 393.4 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01755, allocations: 4 kB / 393.4 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.01756, allocations: 4 kB / 393.4 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.01757, allocations: 7.984 kB / 393.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.01865, allocations: 1.303 MB / 394.8 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.01866, allocations: 8 kB / 394.8 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.01894, allocations: 116.1 kB / 394.9 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.01895, allocations: 11.94 kB / 394.9 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.01897, allocations: 19.98 kB / 394.9 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.01898, allocations: 4 kB / 394.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.01898, allocations: 7.938 kB / 394.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.01972, allocations: 1.191 MB / 396.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.01975, allocations: 31.77 kB / 396.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.01979, allocations: 19.94 kB / 396.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.01998, allocations: 15.98 kB / 396.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.02004, allocations: 47.81 kB / 396.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.02005, allocations: 20 kB / 396.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.925e-05/0.02015, allocations: 197.1 kB / 396.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02015, allocations: 0 / 396.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.02056, allocations: 100 kB / 396.5 MB, free: 15.32 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.552e-05/0.02066, allocations: 107.2 kB / 396.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.02099, allocations: 288.6 kB / 396.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.021, allocations: 0 / 396.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.02113, allocations: 132.4 kB / 397.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.02172, allocations: 95.62 kB / 397.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.02315, allocations: 1.223 MB / 398.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.02325, allocations: 113.9 kB / 398.5 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.02338, allocations: 51.28 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.02346, allocations: 36.5 kB / 398.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02346, allocations: 0 / 398.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of Templates: time 0.006377/0.02984, allocations: 4.051 MB / 402.6 MB, free: 9.188 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.14286779332906]