Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001296/0.001296, allocations: 123.1 kB / 18.46 MB, free: 4.578 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.001368/0.001368, allocations: 215.2 kB / 21.42 MB, free: 1.625 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.479/1.479, 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.2329/0.2329, 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 75.81 kB / 0.4921 GB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 65.98 MB / 0.5565 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003581/0.1595, allocations: 1.684 MB / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1606, allocations: 0.5572 MB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.1607, allocations: 0 / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.1614, allocations: 455.1 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.1619, allocations: 299.2 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1623, allocations: 131.1 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.1626, allocations: 171.7 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1627, allocations: 15.92 kB / 0.5598 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1629, allocations: 115.7 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.1632, allocations: 251.5 kB / 0.5601 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1632, allocations: 4 kB / 0.5601 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1634, allocations: 51.97 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1635, allocations: 87.64 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1636, allocations: 111 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.164, allocations: 270.6 kB / 0.5606 GB, free: 1.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.164, allocations: 4 kB / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.164, allocations: 0 / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.164, allocations: 0 / 0.5606 GB, free: 1.102 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.0009198/0.1649, allocations: 0.6606 MB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.165, allocations: 12.03 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.1651, allocations: 40.66 kB / 0.5613 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1654, allocations: 304.6 kB / 0.5616 GB, free: 0 / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1654, allocations: 384 / 0.5616 GB, free: 0 / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.1655, allocations: 4.422 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1657, allocations: 65.69 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1657, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1657, allocations: 4 kB / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1657, allocations: 0 / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1658, allocations: 31.97 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.1664, allocations: 404.6 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1665, allocations: 42.55 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1666, allocations: 16.86 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1666, allocations: 0 / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1666, allocations: 30.56 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1666, allocations: 0 / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001089/0.1677, allocations: 320.7 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1678, allocations: 59.34 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.1691, allocations: 0.8653 MB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1691, allocations: 29.7 kB / 0.5634 GB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.1694, allocations: 224 kB / 0.5636 GB, free: 13.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.1694, allocations: 27.8 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1695, allocations: 17.72 kB / 0.5637 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.1698, allocations: 362.8 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.1699, allocations: 35.91 kB / 0.564 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.1699, allocations: 24 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1701, allocations: 72.83 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1701, allocations: 0 / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002625/0.1704, allocations: 133.6 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1704, allocations: 4 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1704, allocations: 432 / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1704, allocations: 7.984 kB / 0.5643 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1705, allocations: 12 kB / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1705, allocations: 11.94 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.1706, allocations: 11.98 kB / 0.5643 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1706, allocations: 4 kB / 0.5643 GB, free: 13.07 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.000208/0.1708, allocations: 215.9 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.1709, allocations: 51.66 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.1712, allocations: 161.4 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1712, allocations: 8 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1712, allocations: 3.938 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1713, allocations: 0 / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.1719, allocations: 0.4914 MB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.172, allocations: 7.922 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.172, allocations: 12 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/0.172, allocations: 4 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1721, allocations: 8.016 kB / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1721, allocations: 0 / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1721, allocations: 0 / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.1725, allocations: 252 kB / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.1726, allocations: 116.8 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1726, allocations: 0 / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.1727, allocations: 8 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1727, allocations: 11.98 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1727, allocations: 0 / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008304/0.1736, allocations: 0.6511 MB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1736, allocations: 0 / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1738, allocations: 27.98 kB / 0.5663 GB, free: 10.95 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.001743/0.1756, allocations: 475.4 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1758, allocations: 59.97 kB / 0.5668 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1758, allocations: 0 / 0.5668 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1759, allocations: 39.97 kB / 0.5668 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.1764, allocations: 31.11 kB / 0.5669 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1782, allocations: 0.8596 MB / 0.5677 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.1789, allocations: 0.826 MB / 0.5685 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.1789, allocations: 19.44 kB / 0.5685 GB, free: 8.77 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1789, allocations: 0 / 0.5685 GB, free: 8.77 MB / 430.1 MB Notification: Performance of Templates: time 0.008129/0.1871, allocations: 3.962 MB / 0.5724 GB, free: 4.801 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.6751022129901685]