Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001839/0.001839, allocations: 117.1 kB / 18.46 MB, free: 4.613 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.002234/0.002234, allocations: 205.8 kB / 21.4 MB, free: 1.668 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.662/1.662, allocations: 227.4 MB / 251.6 MB, free: 88 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.16 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 77.19 kB / 490.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1682, allocations: 62.45 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003783/0.1721, allocations: 1.682 MB / 0.5414 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1732, allocations: 0.5605 MB / 0.5419 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.1733, allocations: 0 / 0.5419 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.1739, allocations: 447.2 kB / 0.5423 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.1745, allocations: 295.3 kB / 0.5426 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1749, allocations: 134.1 kB / 0.5427 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1752, allocations: 183.6 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1753, allocations: 20.17 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1755, allocations: 119.7 kB / 0.543 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1757, allocations: 211.6 kB / 0.5433 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1758, allocations: 4 kB / 0.5433 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1759, allocations: 59.92 kB / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.176, allocations: 87.67 kB / 0.5434 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1762, allocations: 106.9 kB / 0.5435 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.1766, allocations: 274.6 kB / 0.5438 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1766, allocations: 0 / 0.5438 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1766, allocations: 0 / 0.5438 GB, free: 56 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.1766, allocations: 0 / 0.5438 GB, free: 56 kB / 398.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.0009744/0.1776, allocations: 0.6685 MB / 0.5444 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1777, allocations: 12.03 kB / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.1778, allocations: 48.61 kB / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.1782, allocations: 304.6 kB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1782, allocations: 4.375 kB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.1782, allocations: 4.375 kB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1784, allocations: 66.22 kB / 0.5448 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1785, allocations: 8.109 kB / 0.5448 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1785, allocations: 7.938 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1785, allocations: 0 / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1787, allocations: 39.97 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.1793, allocations: 392.7 kB / 0.5453 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1796, allocations: 58.58 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.1797, allocations: 24.97 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1797, allocations: 8 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1798, allocations: 34.56 kB / 0.5454 GB, free: 14.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1798, allocations: 0 / 0.5454 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001661/0.1814, allocations: 476.7 kB / 0.5458 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1815, allocations: 63.28 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/0.1825, allocations: 0.8691 MB / 0.5467 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1825, allocations: 29.7 kB / 0.5468 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.1827, allocations: 220 kB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.1828, allocations: 31.7 kB / 0.547 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.1828, allocations: 37.64 kB / 0.547 GB, free: 12.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.183, allocations: 362.8 kB / 0.5474 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1832, allocations: 43.97 kB / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1833, allocations: 43.97 kB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.1836, allocations: 92.81 kB / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1836, allocations: 0 / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003563/0.1839, allocations: 185.3 kB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.184, allocations: 7.938 kB / 0.5478 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.184, allocations: 0 / 0.5478 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.184, allocations: 0 / 0.5478 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.1842, allocations: 23.98 kB / 0.5478 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1842, allocations: 7.984 kB / 0.5478 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.1843, allocations: 11.92 kB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1843, allocations: 4 kB / 0.5478 GB, free: 11.68 MB / 414.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.0002262/0.1845, allocations: 221.8 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.1846, allocations: 47.67 kB / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.1851, allocations: 201.3 kB / 0.5482 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1852, allocations: 0 / 0.5482 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1852, allocations: 0 / 0.5482 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1852, allocations: 3.938 kB / 0.5482 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.1861, allocations: 0.5663 MB / 0.5488 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1861, allocations: 4 kB / 0.5488 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1862, allocations: 31.91 kB / 0.5488 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1862, allocations: 0 / 0.5488 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1862, allocations: 8 kB / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1862, allocations: 4.062 kB / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1862, allocations: 0 / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.1867, allocations: 281.4 kB / 0.5491 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.1868, allocations: 128.7 kB / 0.5492 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1868, allocations: 192 / 0.5492 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1869, allocations: 15.98 kB / 0.5493 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.187, allocations: 11.98 kB / 0.5493 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.187, allocations: 4 kB / 0.5493 GB, free: 10.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007099/0.1877, allocations: 0.6472 MB / 0.5499 GB, free: 9.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1877, allocations: 96 / 0.5499 GB, free: 9.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.188, allocations: 43.81 kB / 0.5499 GB, free: 9.359 MB / 414.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.001819/0.1899, allocations: 445.5 kB / 0.5504 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.1902, allocations: 111.8 kB / 0.5505 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1903, allocations: 0 / 0.5505 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1904, allocations: 63.83 kB / 0.5505 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1909, allocations: 28.91 kB / 0.5506 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1922, allocations: 0.8667 MB / 0.5514 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.1928, allocations: 0.826 MB / 0.5522 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.1929, allocations: 20.53 kB / 0.5522 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.193, allocations: 23.44 kB / 0.5523 GB, free: 7.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.193, allocations: 0 / 0.5523 GB, free: 7.09 MB / 414.1 MB Notification: Performance of Templates: time 0.006392/0.1994, allocations: 1.868 MB / 0.5541 GB, free: 5.234 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 5.4165535951033235]