Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.00169/0.00169, allocations: 115.4 kB / 18.45 MB, free: 4.562 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.002074/0.002074, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.567/1.567, 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.2743/0.2743, allocations: 46.92 MB / 357.8 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.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.91 kB / 0.4921 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1549, allocations: 65.99 MB / 0.5566 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003983/0.1589, allocations: 1.696 MB / 0.5582 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.161, allocations: 1.016 MB / 0.5592 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1611, allocations: 7.938 kB / 0.5592 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.1615, allocations: 55.69 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.162, allocations: 103.5 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1622, allocations: 67.75 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1625, allocations: 103.7 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.826e-05/0.1626, allocations: 8.234 kB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1627, allocations: 43.78 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1628, allocations: 35.78 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1628, allocations: 4 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1629, allocations: 27.98 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.163, allocations: 27.86 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.1631, allocations: 39.69 kB / 0.5597 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1634, allocations: 119.4 kB / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1634, allocations: 0 / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1634, allocations: 0 / 0.5599 GB, free: 1.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1634, allocations: 8 kB / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007664/0.1642, allocations: 446.4 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1642, allocations: 12.03 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1643, allocations: 8.891 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1647, allocations: 229 kB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1647, allocations: 384 / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1647, allocations: 8.125 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1649, allocations: 45.67 kB / 0.5606 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1649, allocations: 4 kB / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1649, allocations: 0 / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1649, allocations: 0 / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.165, allocations: 15.98 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.1652, allocations: 193.7 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1654, allocations: 54.55 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.1655, allocations: 28.78 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1655, allocations: 3.984 kB / 0.5609 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1657, allocations: 63.39 kB / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1657, allocations: 0 / 0.5609 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003366/0.1661, allocations: 101.5 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1661, allocations: 51.41 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.1664, allocations: 274.8 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.1664, allocations: 29.7 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.1665, allocations: 108.1 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1666, allocations: 19.89 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.1666, allocations: 17.72 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1668, allocations: 326.8 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.1669, allocations: 11.98 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.1669, allocations: 29.72 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.167, allocations: 61.77 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.167, allocations: 0 / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001831/0.1672, allocations: 85.53 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1672, allocations: 11.98 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1673, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1673, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.321e-05/0.1674, allocations: 11.94 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1674, allocations: 8.031 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.1674, allocations: 7.891 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1674, allocations: 4 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001354/0.1676, allocations: 136 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1676, allocations: 19.89 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.1677, allocations: 17 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1677, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1677, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1677, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1679, allocations: 205.6 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1679, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1679, allocations: 7.984 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1679, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1679, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1679, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1679, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1681, allocations: 120.9 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.1682, allocations: 89.02 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1682, allocations: 4.125 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.1683, allocations: 4 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1683, allocations: 7.984 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1683, allocations: 4 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1685, allocations: 200.6 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1685, allocations: 0 / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1688, allocations: 19.98 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001583/0.1704, allocations: 422.2 kB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1706, allocations: 39.92 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1706, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.1706, allocations: 19.98 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1709, allocations: 28.17 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.1716, allocations: 300.1 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.172, allocations: 0.7158 MB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1721, allocations: 15.44 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1721, allocations: 0 / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Templates: time 0.004861/0.1769, allocations: 1.891 MB / 0.5662 GB, free: 11.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.251183524989756]