Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001284/0.001283, allocations: 126.7 kB / 18.46 MB, free: 4.605 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.001315/0.001315, allocations: 203.3 kB / 21.4 MB, free: 1.664 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.529/1.529, allocations: 227.4 MB / 251.6 MB, free: 272 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.2549/0.2549, allocations: 46.18 MB / 351.1 MB, free: 14.31 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 78.11 kB / 490.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1728, allocations: 62.45 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003453/0.1763, allocations: 1.651 MB / 0.5413 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.1773, allocations: 0.6841 MB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.1774, allocations: 0 / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1777, allocations: 31.83 kB / 0.542 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1779, allocations: 39.84 kB / 0.542 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.262e-06/0.1779, allocations: 0 / 0.542 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1781, allocations: 35.89 kB / 0.5421 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1782, allocations: 4 kB / 0.5421 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/0.1782, allocations: 11.92 kB / 0.5421 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.1783, allocations: 15.92 kB / 0.5421 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1783, allocations: 4 kB / 0.5421 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.227e-05/0.1784, allocations: 8 kB / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.1784, allocations: 15.92 kB / 0.5421 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.1785, allocations: 23.81 kB / 0.5422 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1787, allocations: 71.61 kB / 0.5422 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1787, allocations: 0 / 0.5422 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1787, allocations: 0 / 0.5422 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1787, allocations: 0 / 0.5422 GB, free: 1.617 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000471/0.1792, allocations: 371.1 kB / 0.5426 GB, free: 1.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1792, allocations: 12.03 kB / 0.5426 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1793, allocations: 4.891 kB / 0.5426 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1795, allocations: 184.2 kB / 0.5428 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1795, allocations: 4.375 kB / 0.5428 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1795, allocations: 4.375 kB / 0.5428 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1797, allocations: 121.3 kB / 0.5429 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1797, allocations: 4.125 kB / 0.5429 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1798, allocations: 3.938 kB / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.1798, allocations: 27.97 kB / 0.5429 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.1799, allocations: 43.91 kB / 0.543 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.1807, allocations: 0.8907 MB / 0.5438 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1808, allocations: 169.1 kB / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1809, allocations: 88.17 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.181, allocations: 87.14 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.611e-05/0.181, allocations: 109.8 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1811, allocations: 0 / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.000101/0.1812, allocations: 37.61 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1813, allocations: 126.7 kB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1815, allocations: 190.2 kB / 0.5446 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.1816, allocations: 25.7 kB / 0.5446 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.1817, allocations: 151.5 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.1817, allocations: 0 / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.1818, allocations: 45.66 kB / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.1821, allocations: 322.8 kB / 0.5451 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.1821, allocations: 31.92 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.1823, allocations: 153.2 kB / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1826, allocations: 208.9 kB / 0.5455 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1826, allocations: 0 / 0.5455 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003424/0.1829, allocations: 205.1 kB / 0.5457 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1829, allocations: 8 kB / 0.5457 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.183, allocations: 4 kB / 0.5457 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.183, allocations: 8 kB / 0.5457 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1831, allocations: 35.92 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.1831, allocations: 15.88 kB / 0.5458 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.1832, allocations: 20.42 kB / 0.5458 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1833, allocations: 12 kB / 0.5458 GB, free: 13.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001719/0.1834, allocations: 217.6 kB / 0.546 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.1835, allocations: 116.9 kB / 0.5461 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.1836, allocations: 120.6 kB / 0.5462 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/0.1837, allocations: 180.2 kB / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/0.1839, allocations: 184.3 kB / 0.5466 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.924e-05/0.184, allocations: 180.2 kB / 0.5468 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.1843, allocations: 425.2 kB / 0.5472 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.423e-05/0.1843, allocations: 108.9 kB / 0.5473 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.1844, allocations: 104.9 kB / 0.5474 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.114e-05/0.1845, allocations: 180.2 kB / 0.5475 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/0.1846, allocations: 184.2 kB / 0.5477 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001006/0.1847, allocations: 180.3 kB / 0.5479 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.259e-05/0.1848, allocations: 188.2 kB / 0.5481 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.185, allocations: 311.7 kB / 0.5484 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1851, allocations: 197.9 kB / 0.5485 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.1852, allocations: 180.3 kB / 0.5487 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.1853, allocations: 108.9 kB / 0.5488 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.1854, allocations: 180.2 kB / 0.549 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.1855, allocations: 101 kB / 0.5491 GB, free: 9.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1856, allocations: 136 kB / 0.5492 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1856, allocations: 4 kB / 0.5492 GB, free: 9.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1859, allocations: 16 kB / 0.5492 GB, free: 9.812 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0007212/0.1866, allocations: 271 kB / 0.5495 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1868, allocations: 72.72 kB / 0.5496 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1868, allocations: 4.312 kB / 0.5496 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1868, allocations: 4 kB / 0.5496 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1873, allocations: 462 kB / 0.55 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.1877, allocations: 252.9 kB / 0.5503 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1881, allocations: 0.6928 MB / 0.5509 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.1883, allocations: 53.02 kB / 0.551 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1883, allocations: 15.44 kB / 0.551 GB, free: 7.992 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1884, allocations: 4 kB / 0.551 GB, free: 7.988 MB / 414.1 MB Notification: Performance of Templates: time 0.003484/0.1918, allocations: 0.7193 MB / 0.5517 GB, free: 7.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.184478051029146]