Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001649/0.001649, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001574/0.001574, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.558/1.558, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 46.91 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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=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_4.1.0_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_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.91 kB / 0.492 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1315, allocations: 65.99 MB / 0.5565 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004944/0.1365, allocations: 3.167 MB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1388, allocations: 1.067 MB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.139, allocations: 15.88 kB / 0.5606 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1392, allocations: 59.38 kB / 0.5607 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1395, allocations: 134.9 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.1401, allocations: 175.5 kB / 0.561 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.1407, allocations: 465.9 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1409, allocations: 91.45 kB / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1411, allocations: 175.4 kB / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1413, allocations: 183.3 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1414, allocations: 32 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1415, allocations: 55.98 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.1416, allocations: 71.7 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1418, allocations: 203 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.1424, allocations: 450.1 kB / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1424, allocations: 0 / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1424, allocations: 0 / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1424, allocations: 4 kB / 0.5626 GB, free: 15.02 MB / 430.1 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.001314/0.1437, allocations: 0.6975 MB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1438, allocations: 8.031 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.1441, allocations: 68.62 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.1446, allocations: 306.7 kB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.1447, allocations: 29.38 kB / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.1447, allocations: 40.38 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.1454, allocations: 363.5 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.1454, allocations: 11.94 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1454, allocations: 19.94 kB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1455, allocations: 8 kB / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.146, allocations: 255.6 kB / 0.5644 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.1483, allocations: 1.514 MB / 0.5659 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.1491, allocations: 399.4 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.1493, allocations: 129.1 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.1494, allocations: 12.56 kB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.1494, allocations: 46.55 kB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.1494, allocations: 0 / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003619/0.153, allocations: 1.986 MB / 0.5684 GB, free: 8.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.1531, allocations: 191.9 kB / 0.5685 GB, free: 8.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1534, allocations: 259 kB / 0.5688 GB, free: 8.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.1535, allocations: 33.7 kB / 0.5688 GB, free: 8.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1536, allocations: 200.7 kB / 0.569 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1538, allocations: 190.4 kB / 0.5692 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1539, allocations: 98.3 kB / 0.5693 GB, free: 7.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1541, allocations: 354.7 kB / 0.5696 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.1543, allocations: 117.2 kB / 0.5697 GB, free: 7.109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.1547, allocations: 310.1 kB / 0.57 GB, free: 6.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.1554, allocations: 449.7 kB / 0.5705 GB, free: 6.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1554, allocations: 0 / 0.5705 GB, free: 6.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009285/0.1563, allocations: 493.1 kB / 0.5709 GB, free: 5.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1564, allocations: 8 kB / 0.5709 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.1564, allocations: 8 kB / 0.571 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/0.1564, allocations: 8 kB / 0.571 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.1569, allocations: 143.7 kB / 0.5711 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.157, allocations: 16.38 kB / 0.5711 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.1572, allocations: 31.89 kB / 0.5711 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.1573, allocations: 27.98 kB / 0.5712 GB, free: 5.492 MB / 430.1 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.0002229/0.1575, allocations: 173.6 kB / 0.5713 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1577, allocations: 39.77 kB / 0.5714 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.1579, allocations: 123.3 kB / 0.5715 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1579, allocations: 8 kB / 0.5715 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.158, allocations: 3.938 kB / 0.5715 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.158, allocations: 4 kB / 0.5715 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1601, allocations: 1.245 MB / 0.5727 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.1601, allocations: 4 kB / 0.5727 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.1606, allocations: 115.9 kB / 0.5728 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.1606, allocations: 8 kB / 0.5728 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1606, allocations: 16 kB / 0.5729 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1606, allocations: 8.25 kB / 0.5729 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.1606, allocations: 8 kB / 0.5729 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.1618, allocations: 1.021 MB / 0.5739 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1619, allocations: 112.9 kB / 0.574 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.162, allocations: 12.19 kB / 0.574 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.1624, allocations: 15.98 kB / 0.574 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.1624, allocations: 39.84 kB / 0.574 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.1625, allocations: 19.98 kB / 0.5741 GB, free: 2.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.1627, allocations: 182 kB / 0.5742 GB, free: 2.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1627, allocations: 3.938 kB / 0.5742 GB, free: 2.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.1634, allocations: 100 kB / 0.5743 GB, free: 2.062 MB / 430.1 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 0.0001557/0.1635, allocations: 115.1 kB / 0.5744 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.1642, allocations: 331.9 kB / 0.5748 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1642, allocations: 0 / 0.5748 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1645, allocations: 159.7 kB / 0.5749 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.1655, allocations: 100.9 kB / 0.575 GB, free: 1.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.1681, allocations: 1.521 MB / 0.5765 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.1686, allocations: 0.8195 MB / 0.5773 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1687, allocations: 35.44 kB / 0.5773 GB, free: 14.88 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1687, allocations: 0 / 0.5773 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Templates: time 0.008759/0.1774, allocations: 4.802 MB / 0.582 GB, free: 10.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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: 8.358869112998946]