Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001257/0.001257, allocations: 115.1 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.001357/0.001357, 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.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2457/0.2457, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 71.88 kB / 0.4921 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1461, allocations: 66 MB / 0.5566 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003729/0.1499, allocations: 1.62 MB / 0.5581 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.151, allocations: 0.5377 MB / 0.5587 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.1511, allocations: 0 / 0.5587 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1515, allocations: 123.7 kB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.1519, allocations: 135.5 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1522, allocations: 87.77 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1524, allocations: 99.73 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1526, allocations: 19.91 kB / 0.5591 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.1527, allocations: 43.84 kB / 0.5591 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1528, allocations: 95.75 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1529, allocations: 3.984 kB / 0.5592 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.153, allocations: 47.98 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.153, allocations: 19.92 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.1531, allocations: 39.69 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1533, allocations: 131.3 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1533, allocations: 0 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1533, allocations: 0 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1533, allocations: 0 / 0.5595 GB, free: 2.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006547/0.154, allocations: 442.5 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.154, allocations: 8.031 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.1541, allocations: 16.84 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1544, allocations: 211.8 kB / 0.5601 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1544, allocations: 4.375 kB / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.1544, allocations: 8.375 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1546, allocations: 61.73 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1546, allocations: 0 / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1546, allocations: 4 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1546, allocations: 0 / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1547, allocations: 27.97 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.1552, allocations: 300.8 kB / 0.5605 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1553, allocations: 42.5 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.1553, allocations: 20.86 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1554, allocations: 3.938 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1554, allocations: 34.66 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1554, allocations: 3.938 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000975/0.1564, allocations: 237.1 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1564, allocations: 55.41 kB / 0.5609 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1568, allocations: 275.7 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1568, allocations: 29.7 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.1569, allocations: 120.2 kB / 0.5613 GB, free: 252 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1569, allocations: 27.73 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.157, allocations: 25.72 kB / 0.5613 GB, free: 192 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1571, allocations: 322.8 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.1572, allocations: 27.97 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.1573, allocations: 27.92 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1575, allocations: 61.06 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1575, allocations: 4 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002367/0.1577, allocations: 105.6 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1577, allocations: 4 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1577, allocations: 0 / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1577, allocations: 0 / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1578, allocations: 23.92 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1578, allocations: 0 / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1579, allocations: 12.34 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1579, allocations: 4 kB / 0.5619 GB, free: 15.59 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 (8): * Single equations (assignments): 8 * 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.0001149/0.158, allocations: 136 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.158, allocations: 15.91 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.1583, allocations: 123 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1584, allocations: 3.984 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1584, allocations: 0 / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1584, allocations: 3.938 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.1589, allocations: 423.2 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1589, allocations: 3.938 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.159, allocations: 15.98 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.159, allocations: 3.938 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.159, allocations: 7.938 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.159, allocations: 0 / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.159, allocations: 0 / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1593, allocations: 208.3 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1594, allocations: 100.9 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1594, allocations: 4 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1595, allocations: 7.984 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1595, allocations: 0 / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.1595, allocations: 8 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1597, allocations: 217.4 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1597, allocations: 0 / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.16, allocations: 23.94 kB / 0.5632 GB, free: 14.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001776/0.1618, allocations: 458 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.162, allocations: 71.88 kB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.162, allocations: 0 / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.1621, allocations: 31.92 kB / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1625, allocations: 23.77 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.1631, allocations: 341.8 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.1635, allocations: 0.7187 MB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1635, allocations: 19.42 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1635, allocations: 0 / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of Templates: time 0.004162/0.1677, allocations: 1.889 MB / 0.5666 GB, free: 10.79 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.959919911983889]