Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00187/0.00187, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002221/0.002221, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.611/1.611, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2537/0.2537, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1462, allocations: 66 MB / 0.5566 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004995/0.1512, allocations: 1.833 MB / 0.5584 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.1552, allocations: 1.705 MB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1553, allocations: 3.938 kB / 0.56 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.1557, allocations: 59.61 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.1563, allocations: 147.3 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1567, allocations: 99.69 kB / 0.5603 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.157, allocations: 211.3 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.1571, allocations: 5.688 kB / 0.5605 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1573, allocations: 91.56 kB / 0.5606 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.1575, allocations: 87.55 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1575, allocations: 8 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.1577, allocations: 115.9 kB / 0.5608 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1578, allocations: 35.83 kB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.1579, allocations: 59.61 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1582, allocations: 235 kB / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1582, allocations: 0 / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1582, allocations: 0 / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1583, allocations: 0 / 0.5612 GB, free: 0.5938 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008124/0.1591, allocations: 0.498 MB / 0.5616 GB, free: 48 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1591, allocations: 15.97 kB / 0.5617 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.1592, allocations: 16.84 kB / 0.5617 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1596, allocations: 257.1 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1596, allocations: 8.375 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1596, allocations: 4.125 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1599, allocations: 101 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1599, allocations: 0 / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1599, allocations: 0 / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1599, allocations: 4 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.16, allocations: 31.98 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.1603, allocations: 214.5 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1606, allocations: 105.2 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1607, allocations: 45.64 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1607, allocations: 0 / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.161, allocations: 105 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.161, allocations: 0 / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004943/0.1614, allocations: 169.4 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1616, allocations: 136.5 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1619, allocations: 236.2 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1619, allocations: 37.69 kB / 0.5631 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.162, allocations: 120.1 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.162, allocations: 23.81 kB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.1621, allocations: 29.7 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1623, allocations: 330.8 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.1624, allocations: 27.98 kB / 0.5636 GB, free: 13.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1625, allocations: 73.06 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.1627, allocations: 91.89 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1627, allocations: 4 kB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.163, allocations: 137.4 kB / 0.5639 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.163, allocations: 8 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.163, allocations: 0 / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.163, allocations: 0 / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1632, allocations: 27.92 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1632, allocations: 3.938 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.1633, allocations: 23.95 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1633, allocations: 4 kB / 0.5639 GB, free: 13.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001284/0.1634, allocations: 135.9 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1635, allocations: 19.91 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.1635, allocations: 20.98 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1635, allocations: 4 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1635, allocations: 0 / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1635, allocations: 0 / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1638, allocations: 229.5 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1638, allocations: 4 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.1638, allocations: 7.984 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1638, allocations: 4 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1638, allocations: 4 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1638, allocations: 3.938 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.1638, allocations: 4 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1642, allocations: 169.7 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.1642, allocations: 96.94 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1643, allocations: 8 kB / 0.5646 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1644, allocations: 8.109 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1644, allocations: 12 kB / 0.5646 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1644, allocations: 7.984 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.1646, allocations: 177.6 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1646, allocations: 96 / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1649, allocations: 55.86 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001858/0.1668, allocations: 0.508 MB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1671, allocations: 71.91 kB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1671, allocations: 0 / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1672, allocations: 35.92 kB / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1676, allocations: 56.5 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.1682, allocations: 321.4 kB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1686, allocations: 0.7164 MB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.1687, allocations: 35.34 kB / 0.5665 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1687, allocations: 4 kB / 0.5665 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Templates: time 0.006143/0.1748, allocations: 3.175 MB / 0.5696 GB, free: 7.621 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.355369268014329]