Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.0015/0.0015, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001631/0.001631, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9844/0.9844, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2593/0.2593, allocations: 32.81 MB / 294.3 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.875e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002929/0.002948, allocations: 2.887 MB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004167, allocations: 0.9932 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004298, allocations: 11.94 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004446, allocations: 55.38 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.00459, allocations: 115 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.004977, allocations: 163.5 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.005292, allocations: 394 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.005435, allocations: 61.45 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.005607, allocations: 219.4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.005736, allocations: 111.6 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.005769, allocations: 28 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.005854, allocations: 51.97 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.005891, allocations: 63.75 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.005971, allocations: 119.7 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.006244, allocations: 278.8 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006246, allocations: 0 / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006247, allocations: 0 / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.006253, allocations: 0 / 381.5 MB, free: 15.13 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006453/0.006899, allocations: 0.6596 MB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.006931, allocations: 8.031 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.007153, allocations: 80.69 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.007387, allocations: 233 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.007405, allocations: 21.03 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.007447, allocations: 32.38 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.007738, allocations: 272.8 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.007758, allocations: 12.12 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.00778, allocations: 15.94 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.00779, allocations: 11.98 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.007974, allocations: 127.8 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.009075, allocations: 1.355 MB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.009428, allocations: 299.4 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.009523, allocations: 94.55 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.009544, allocations: 12 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.009575, allocations: 45.33 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.844e-06/0.009577, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001701/0.01128, allocations: 1.169 MB / 385.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.01133, allocations: 162.2 kB / 386.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.01148, allocations: 272.2 kB / 386.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.0115, allocations: 29.7 kB / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.01159, allocations: 231.3 kB / 386.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.01166, allocations: 154.6 kB / 386.8 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.01174, allocations: 91.8 kB / 386.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.01189, allocations: 0.5079 MB / 387.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.01199, allocations: 60.89 kB / 387.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.01218, allocations: 266.4 kB / 387.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.0125, allocations: 366.7 kB / 388 MB, free: 7.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0125, allocations: 4 kB / 388 MB, free: 7.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004009/0.0129, allocations: 360.8 kB / 388.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.01293, allocations: 14.02 kB / 388.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01293, allocations: 4 kB / 388.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01295, allocations: 8 kB / 388.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.01318, allocations: 116.2 kB / 388.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.01319, allocations: 15.94 kB / 388.5 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.01328, allocations: 19.95 kB / 388.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.0133, allocations: 20 kB / 388.6 MB, free: 7.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001115/0.01342, allocations: 188.4 kB / 388.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.01349, allocations: 47.8 kB / 388.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.01364, allocations: 107.4 kB / 388.9 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01365, allocations: 4 kB / 388.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01365, allocations: 4 kB / 388.9 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01366, allocations: 0 / 388.9 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.01459, allocations: 1.082 MB / 390 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01459, allocations: 4 kB / 390 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.01483, allocations: 95.89 kB / 390.1 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01484, allocations: 4 kB / 390.1 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.01487, allocations: 24.22 kB / 390.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.01487, allocations: 8 kB / 390.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.01488, allocations: 11.88 kB / 390.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.01548, allocations: 0.9937 MB / 391.1 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.01551, allocations: 31.8 kB / 391.2 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.01554, allocations: 8 kB / 391.2 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.01569, allocations: 16 kB / 391.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.01574, allocations: 35.83 kB / 391.2 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.01575, allocations: 12 kB / 391.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.01584, allocations: 193.1 kB / 391.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01584, allocations: 0 / 391.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.0162, allocations: 84 kB / 391.5 MB, free: 4.297 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.447e-05/0.01629, allocations: 107.2 kB / 391.6 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.01688, allocations: 224.9 kB / 391.8 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01688, allocations: 64 / 391.8 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.01699, allocations: 124.2 kB / 392 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.01752, allocations: 68.91 kB / 392 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.01886, allocations: 1.049 MB / 393.1 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.231e-05/0.01895, allocations: 97.12 kB / 393.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.01906, allocations: 51.19 kB / 393.2 MB, free: 2.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.01912, allocations: 28.5 kB / 393.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01912, allocations: 0 / 393.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of Templates: time 0.005417/0.02454, allocations: 3.286 MB / 396.5 MB, free: 15.22 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1308535602875054]