Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2312/0.2312, allocations: 46.88 MB / 358.1 MB, free: 10.51 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 83.88 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.159, allocations: 65.98 MB / 0.5568 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003446/0.1625, allocations: 1.696 MB / 0.5585 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1637, allocations: 0.5839 MB / 0.5591 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.1638, allocations: 0 / 0.5591 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.164, allocations: 55.8 kB / 0.5591 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1643, allocations: 83.61 kB / 0.5592 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.1648, allocations: 187.4 kB / 0.5594 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.165, allocations: 83.81 kB / 0.5594 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1651, allocations: 20.16 kB / 0.5595 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.1652, allocations: 35.91 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1653, allocations: 47.77 kB / 0.5595 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1653, allocations: 4 kB / 0.5595 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1655, allocations: 55.92 kB / 0.5596 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.1655, allocations: 23.91 kB / 0.5596 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.1656, allocations: 35.8 kB / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1658, allocations: 107.5 kB / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1658, allocations: 0 / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1658, allocations: 0 / 0.5598 GB, free: 2.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1658, allocations: 0 / 0.5598 GB, free: 2.875 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006274/0.1665, allocations: 426.7 kB / 0.5602 GB, free: 2.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1665, allocations: 8.031 kB / 0.5602 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1666, allocations: 12.89 kB / 0.5602 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1668, allocations: 192.2 kB / 0.5604 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1668, allocations: 8.375 kB / 0.5604 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.1668, allocations: 4.375 kB / 0.5604 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.167, allocations: 74.09 kB / 0.5605 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.167, allocations: 4.188 kB / 0.5605 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1671, allocations: 3.938 kB / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1671, allocations: 0 / 0.5605 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1672, allocations: 47.94 kB / 0.5605 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.1678, allocations: 320.8 kB / 0.5608 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.168, allocations: 58.58 kB / 0.5609 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.1681, allocations: 24.97 kB / 0.5609 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1682, allocations: 3.984 kB / 0.5609 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1682, allocations: 42.5 kB / 0.5609 GB, free: 1.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1682, allocations: 0 / 0.5609 GB, free: 1.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001605/0.1698, allocations: 425.3 kB / 0.5613 GB, free: 1.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1698, allocations: 55.41 kB / 0.5614 GB, free: 1.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1701, allocations: 178 kB / 0.5616 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1701, allocations: 33.7 kB / 0.5616 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1702, allocations: 108 kB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.1702, allocations: 35.69 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.1703, allocations: 29.72 kB / 0.5618 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1704, allocations: 322.8 kB / 0.5621 GB, free: 292 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1706, allocations: 51.95 kB / 0.5621 GB, free: 240 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1707, allocations: 55.95 kB / 0.5622 GB, free: 184 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.171, allocations: 128.7 kB / 0.5623 GB, free: 52 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.171, allocations: 0 / 0.5623 GB, free: 52 kB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003773/0.1714, allocations: 161.5 kB / 0.5625 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1714, allocations: 11.98 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1714, allocations: 0 / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1714, allocations: 4 kB / 0.5625 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1716, allocations: 23.98 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1716, allocations: 0 / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1716, allocations: 15.92 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1716, allocations: 4 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * 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.000119/0.1718, allocations: 129.8 kB / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.1718, allocations: 15.91 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.1723, allocations: 190.2 kB / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1723, allocations: 0 / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1723, allocations: 0 / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1723, allocations: 7.922 kB / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.173, allocations: 0.4999 MB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.173, allocations: 4 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1731, allocations: 27.92 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1731, allocations: 0 / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1732, allocations: 8 kB / 0.5634 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1732, allocations: 3.984 kB / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1732, allocations: 0 / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.1736, allocations: 273.7 kB / 0.5636 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.1736, allocations: 92.95 kB / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1737, allocations: 192 / 0.5637 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.1738, allocations: 19.98 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1738, allocations: 8 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1738, allocations: 7.984 kB / 0.5638 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1739, allocations: 135.2 kB / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1739, allocations: 0 / 0.5639 GB, free: 14.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1742, allocations: 23.94 kB / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (11): * Single equations (assignments): 11 * 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.001727/0.1759, allocations: 460.5 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1763, allocations: 127.8 kB / 0.5645 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1763, allocations: 4 kB / 0.5645 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1765, allocations: 63.89 kB / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1768, allocations: 19.92 kB / 0.5645 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007014/0.1775, allocations: 333.9 kB / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1779, allocations: 0.712 MB / 0.5656 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.178, allocations: 19.44 kB / 0.5656 GB, free: 12.67 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.178, allocations: 0 / 0.5656 GB, free: 12.67 MB / 430.1 MB Notification: Performance of Templates: time 0.004386/0.1824, allocations: 2.052 MB / 0.5676 GB, free: 10.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 7.9096629419364035]