Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001663/0.001663, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002116/0.002116, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.511/1.511, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.2232/0.2232, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6") [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.00234/0.00234, allocations: 83.86 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1506, allocations: 65.99 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003776/0.1544, allocations: 1.665 MB / 0.5584 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1555, allocations: 0.5722 MB / 0.559 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.1556, allocations: 0 / 0.559 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.1562, allocations: 451.2 kB / 0.5594 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005209/0.1568, allocations: 291.3 kB / 0.5597 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.1571, allocations: 135 kB / 0.5598 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1574, allocations: 171.6 kB / 0.56 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1575, allocations: 11.98 kB / 0.56 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.1577, allocations: 119.7 kB / 0.5601 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.158, allocations: 251.5 kB / 0.5604 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.158, allocations: 4 kB / 0.5604 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1581, allocations: 35.98 kB / 0.5604 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1583, allocations: 79.69 kB / 0.5605 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1584, allocations: 107 kB / 0.5606 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1589, allocations: 258.6 kB / 0.5608 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1589, allocations: 0 / 0.5608 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1589, allocations: 7.938 kB / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1589, allocations: 0 / 0.5608 GB, free: 1.754 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.001121/0.16, allocations: 0.6646 MB / 0.5615 GB, free: 1.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1601, allocations: 8.031 kB / 0.5615 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.1602, allocations: 48.61 kB / 0.5615 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.1606, allocations: 300.7 kB / 0.5618 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1606, allocations: 384 / 0.5618 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.1607, allocations: 8.375 kB / 0.5618 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1609, allocations: 54.23 kB / 0.5619 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.161, allocations: 192 / 0.5619 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.161, allocations: 11.94 kB / 0.5619 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.161, allocations: 0 / 0.5619 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1612, allocations: 39.89 kB / 0.5619 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.1619, allocations: 384.7 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1621, allocations: 46.55 kB / 0.5624 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1622, allocations: 24.94 kB / 0.5624 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1622, allocations: 0 / 0.5624 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.1623, allocations: 38.5 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1623, allocations: 0 / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001316/0.1636, allocations: 300.5 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.1637, allocations: 55.34 kB / 0.5628 GB, free: 15.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.1651, allocations: 0.8613 MB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1651, allocations: 25.7 kB / 0.5636 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.1654, allocations: 216.1 kB / 0.5638 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.1655, allocations: 35.81 kB / 0.5639 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.1655, allocations: 17.72 kB / 0.5639 GB, free: 14.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.1658, allocations: 366.7 kB / 0.5642 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.166, allocations: 31.97 kB / 0.5643 GB, free: 14.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1662, allocations: 31.97 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1665, allocations: 76.81 kB / 0.5644 GB, free: 13.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1665, allocations: 3.938 kB / 0.5644 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004852/0.167, allocations: 145.3 kB / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.167, allocations: 4 kB / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.167, allocations: 0 / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.167, allocations: 0 / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.1672, allocations: 27.97 kB / 0.5645 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1672, allocations: 0 / 0.5645 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1674, allocations: 8 kB / 0.5645 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.1674, allocations: 11.98 kB / 0.5645 GB, free: 13.72 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 (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.0002968/0.1677, allocations: 209.7 kB / 0.5647 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1678, allocations: 43.72 kB / 0.5648 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.1684, allocations: 181.3 kB / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1684, allocations: 0 / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1684, allocations: 0 / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1684, allocations: 288 / 0.565 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1694, allocations: 494.4 kB / 0.5654 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1694, allocations: 4 kB / 0.5654 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1695, allocations: 23.92 kB / 0.5655 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1695, allocations: 0 / 0.5655 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1695, allocations: 11.98 kB / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1695, allocations: 480 / 0.5655 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.1695, allocations: 3.938 kB / 0.5655 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.1701, allocations: 251.2 kB / 0.5657 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1702, allocations: 112.8 kB / 0.5658 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1702, allocations: 0 / 0.5658 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1704, allocations: 7.984 kB / 0.5658 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.1704, allocations: 11.94 kB / 0.5658 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1704, allocations: 4 kB / 0.5658 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.1715, allocations: 0.6511 MB / 0.5665 GB, free: 11.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1715, allocations: 0 / 0.5665 GB, free: 11.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.1719, allocations: 24 kB / 0.5665 GB, free: 11.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002086/0.174, allocations: 411.7 kB / 0.5669 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1745, allocations: 75.92 kB / 0.567 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.1745, allocations: 4 kB / 0.567 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1747, allocations: 43.91 kB / 0.567 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.1753, allocations: 33.89 kB / 0.567 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1772, allocations: 0.851 MB / 0.5679 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.1779, allocations: 0.826 MB / 0.5687 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.178, allocations: 15.44 kB / 0.5687 GB, free: 9.445 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.178, allocations: 0 / 0.5687 GB, free: 9.445 MB / 430.1 MB Notification: Performance of Templates: time 0.01188/0.1898, allocations: 3.831 MB / 0.5724 GB, free: 5.605 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.970267863944173]