Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001335/0.001335, allocations: 114.9 kB / 19.17 MB, free: 3.871 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.00146/0.00146, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.53/1.53, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.27/0.27, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") [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.002714/0.002714, allocations: 79.88 kB / 0.4924 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1687, allocations: 65.99 MB / 0.5568 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003857/0.1726, allocations: 1.655 MB / 0.5584 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1747, allocations: 1.186 MB / 0.5596 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.1747, allocations: 0 / 0.5596 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1749, allocations: 31.78 kB / 0.5596 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1752, allocations: 87.62 kB / 0.5597 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1756, allocations: 138.6 kB / 0.5598 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1757, allocations: 71.89 kB / 0.5599 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.1758, allocations: 15.92 kB / 0.5599 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.1759, allocations: 31.84 kB / 0.56 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.176, allocations: 35.84 kB / 0.56 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.176, allocations: 4 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1762, allocations: 103.9 kB / 0.5601 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1762, allocations: 15.92 kB / 0.5601 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.1763, allocations: 27.86 kB / 0.5601 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1765, allocations: 151.5 kB / 0.5603 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1765, allocations: 0 / 0.5603 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1765, allocations: 4 kB / 0.5603 GB, free: 2.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1765, allocations: 0 / 0.5603 GB, free: 2.344 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.0005416/0.1771, allocations: 414.7 kB / 0.5607 GB, free: 1.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.1771, allocations: 8.031 kB / 0.5607 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1771, allocations: 8.891 kB / 0.5607 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1774, allocations: 201.9 kB / 0.5609 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1774, allocations: 384 / 0.5609 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1774, allocations: 4.375 kB / 0.5609 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1776, allocations: 79.94 kB / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1776, allocations: 192 / 0.561 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1776, allocations: 3.938 kB / 0.561 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1776, allocations: 4 kB / 0.561 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1777, allocations: 35.91 kB / 0.561 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.1781, allocations: 292.7 kB / 0.5613 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1782, allocations: 46.56 kB / 0.5613 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.1783, allocations: 24.94 kB / 0.5614 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1783, allocations: 0 / 0.5614 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1783, allocations: 34.5 kB / 0.5614 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1783, allocations: 0 / 0.5614 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007452/0.179, allocations: 225.5 kB / 0.5616 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.1791, allocations: 77.11 kB / 0.5617 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1793, allocations: 141.8 kB / 0.5618 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1793, allocations: 25.7 kB / 0.5618 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1794, allocations: 100.1 kB / 0.5619 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1794, allocations: 23.75 kB / 0.562 GB, free: 424 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1794, allocations: 21.7 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1796, allocations: 322.8 kB / 0.5623 GB, free: 64 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1797, allocations: 35.97 kB / 0.5623 GB, free: 28 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1798, allocations: 49.73 kB / 0.5624 GB, free: 15.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1801, allocations: 76.75 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1801, allocations: 0 / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002882/0.1803, allocations: 113.5 kB / 0.5626 GB, free: 15.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1804, allocations: 6.062 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1804, allocations: 7.938 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1804, allocations: 4 kB / 0.5626 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1805, allocations: 19.98 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1805, allocations: 0 / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.1806, allocations: 11.98 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1806, allocations: 0 / 0.5626 GB, free: 15.73 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 9.816e-05/0.1807, allocations: 121.8 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1807, allocations: 15.94 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.181, allocations: 122.3 kB / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.181, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1811, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1811, allocations: 0 / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.1816, allocations: 398.8 kB / 0.5632 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1816, allocations: 0 / 0.5632 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.1817, allocations: 23.92 kB / 0.5633 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1817, allocations: 0 / 0.5633 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1817, allocations: 4 kB / 0.5633 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1817, allocations: 8 kB / 0.5633 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1817, allocations: 3.984 kB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.182, allocations: 207.5 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.1821, allocations: 81.06 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1821, allocations: 4 kB / 0.5635 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.1822, allocations: 15.86 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1822, allocations: 11.98 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1823, allocations: 0 / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1824, allocations: 111.3 kB / 0.5637 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1824, allocations: 3.938 kB / 0.5637 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1826, allocations: 47.86 kB / 0.5637 GB, free: 14.46 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.001629/0.1843, allocations: 491.3 kB / 0.5642 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.1846, allocations: 71.94 kB / 0.5643 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1846, allocations: 4 kB / 0.5643 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1847, allocations: 43.91 kB / 0.5643 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.185, allocations: 24.23 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.1855, allocations: 219.4 kB / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1858, allocations: 0.6924 MB / 0.5652 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.1859, allocations: 19.44 kB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1859, allocations: 0 / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of Templates: time 0.004259/0.1902, allocations: 2.101 MB / 0.5673 GB, free: 10.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 8.25939644081518]