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.00152/0.00152, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001664/0.001664, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.733/1.733, allocations: 230.6 MB / 254.1 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.2957/0.2957, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.002035/0.002035, allocations: 71.89 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1458, allocations: 65.99 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005118/0.1509, allocations: 3.156 MB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1529, allocations: 1.087 MB / 0.56 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1531, allocations: 11.94 kB / 0.56 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.1533, allocations: 63.31 kB / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1535, allocations: 130.9 kB / 0.5602 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.1541, allocations: 175.5 kB / 0.5603 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1547, allocations: 469.8 kB / 0.5608 GB, free: 256 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1549, allocations: 87.58 kB / 0.5609 GB, free: 160 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1551, allocations: 171.5 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1554, allocations: 183.1 kB / 0.5612 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.1554, allocations: 32 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1555, allocations: 55.98 kB / 0.5613 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.1556, allocations: 79.62 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1558, allocations: 203 kB / 0.5616 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.1564, allocations: 442.2 kB / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1564, allocations: 0 / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1564, allocations: 0 / 0.562 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1564, allocations: 4 kB / 0.562 GB, free: 15.01 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.001354/0.1577, allocations: 0.7052 MB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1578, allocations: 8.031 kB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.1581, allocations: 68.64 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.1586, allocations: 310.6 kB / 0.563 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.1587, allocations: 25.38 kB / 0.5631 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.1587, allocations: 40.38 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.1594, allocations: 363.5 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.1594, allocations: 11.89 kB / 0.5635 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1595, allocations: 16 kB / 0.5635 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1595, allocations: 8 kB / 0.5635 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.16, allocations: 251.8 kB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.1624, allocations: 1.514 MB / 0.5652 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.1633, allocations: 411.5 kB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1635, allocations: 129.1 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1635, allocations: 8 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.1636, allocations: 50.5 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.1636, allocations: 0 / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003743/0.1673, allocations: 1.986 MB / 0.5677 GB, free: 8.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.1675, allocations: 187.9 kB / 0.5679 GB, free: 8.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.1679, allocations: 259 kB / 0.5681 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.1679, allocations: 33.7 kB / 0.5682 GB, free: 8.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1681, allocations: 200.7 kB / 0.5684 GB, free: 7.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.1682, allocations: 190.4 kB / 0.5685 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.1684, allocations: 102.2 kB / 0.5686 GB, free: 7.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1686, allocations: 346.8 kB / 0.569 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1688, allocations: 117.2 kB / 0.5691 GB, free: 7.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.1693, allocations: 306.1 kB / 0.5694 GB, free: 6.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.17, allocations: 454.4 kB / 0.5698 GB, free: 6.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.17, allocations: 0 / 0.5698 GB, free: 6.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009065/0.1709, allocations: 496.8 kB / 0.5703 GB, free: 5.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1709, allocations: 8 kB / 0.5703 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.1709, allocations: 8 kB / 0.5703 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.1709, allocations: 8 kB / 0.5703 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.1715, allocations: 135.8 kB / 0.5704 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.1715, allocations: 27.8 kB / 0.5705 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.1717, allocations: 24.36 kB / 0.5705 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.1718, allocations: 28 kB / 0.5705 GB, free: 5.473 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.0002218/0.172, allocations: 165.7 kB / 0.5707 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.1722, allocations: 43.75 kB / 0.5707 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1725, allocations: 119.4 kB / 0.5708 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.1725, allocations: 8 kB / 0.5708 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.1725, allocations: 7.922 kB / 0.5708 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.1725, allocations: 4 kB / 0.5708 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.1747, allocations: 1.249 MB / 0.5721 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1747, allocations: 4 kB / 0.5721 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.1753, allocations: 119.8 kB / 0.5722 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.1753, allocations: 8 kB / 0.5722 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.1753, allocations: 16 kB / 0.5722 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1753, allocations: 4.188 kB / 0.5722 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.1754, allocations: 12.25 kB / 0.5722 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.1767, allocations: 1.01 MB / 0.5732 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1768, allocations: 116.9 kB / 0.5733 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.1769, allocations: 12 kB / 0.5733 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.1773, allocations: 12 kB / 0.5733 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.1774, allocations: 44.11 kB / 0.5734 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.1774, allocations: 19.98 kB / 0.5734 GB, free: 2.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.1776, allocations: 178 kB / 0.5736 GB, free: 2.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1776, allocations: 4 kB / 0.5736 GB, free: 2.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000747/0.1784, allocations: 100 kB / 0.5737 GB, free: 2.051 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.0002065/0.1786, allocations: 115.1 kB / 0.5738 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.1793, allocations: 340.3 kB / 0.5741 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1793, allocations: 0 / 0.5741 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.1797, allocations: 163.6 kB / 0.5743 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.1807, allocations: 91.94 kB / 0.5743 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.1836, allocations: 1.485 MB / 0.5758 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.1842, allocations: 0.8156 MB / 0.5766 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.1844, allocations: 51.33 kB / 0.5766 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.1845, allocations: 35.44 kB / 0.5767 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1845, allocations: 0 / 0.5767 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Templates: time 0.009456/0.1939, allocations: 4 MB / 0.5806 GB, free: 10.89 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/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: 5.824701242148876]