Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.001747/0.001747, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002082/0.002082, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.575/1.575, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2447/0.2447, allocations: 46.93 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.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 71.89 kB / 0.4921 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1542, allocations: 65.99 MB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004847/0.159, allocations: 2.031 MB / 0.5585 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1609, allocations: 0.7988 MB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.1611, allocations: 4 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.1617, allocations: 179.4 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.1624, allocations: 215.1 kB / 0.5597 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1635, allocations: 413.9 kB / 0.5601 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.1641, allocations: 303.1 kB / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1643, allocations: 56.69 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.1646, allocations: 123.5 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.1649, allocations: 175.3 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.165, allocations: 16 kB / 0.5607 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1651, allocations: 51.97 kB / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.1654, allocations: 171.4 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.1656, allocations: 182.5 kB / 0.5611 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006934/0.1663, allocations: 429.8 kB / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1663, allocations: 0 / 0.5615 GB, free: 208 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1663, allocations: 4 kB / 0.5615 GB, free: 204 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.1663, allocations: 0 / 0.5615 GB, free: 204 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001625/0.168, allocations: 0.8549 MB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.168, allocations: 8.031 kB / 0.5624 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1682, allocations: 64.52 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.169, allocations: 0.5088 MB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.169, allocations: 12.38 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.169, allocations: 8.375 kB / 0.5629 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.1695, allocations: 159.4 kB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1695, allocations: 4 kB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1696, allocations: 0 / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1696, allocations: 0 / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005132/0.1701, allocations: 139.9 kB / 0.5632 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1714, allocations: 0.7308 MB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.1718, allocations: 125.2 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.172, allocations: 74 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1721, allocations: 15.91 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1721, allocations: 42.42 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1721, allocations: 4 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002773/0.1749, allocations: 0.8113 MB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1749, allocations: 85.11 kB / 0.5651 GB, free: 12.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.1763, allocations: 1.047 MB / 0.5661 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1763, allocations: 33.7 kB / 0.5661 GB, free: 11.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.1765, allocations: 276.4 kB / 0.5664 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.1766, allocations: 67.42 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.1767, allocations: 33.7 kB / 0.5665 GB, free: 10.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1768, allocations: 314 kB / 0.5668 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.1773, allocations: 119.9 kB / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.1778, allocations: 137.5 kB / 0.567 GB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.1787, allocations: 253.5 kB / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1787, allocations: 0 / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001096/0.1798, allocations: 360.9 kB / 0.5676 GB, free: 9.684 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1798, allocations: 4 kB / 0.5676 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1798, allocations: 0 / 0.5676 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1798, allocations: 0 / 0.5676 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.1802, allocations: 67.86 kB / 0.5677 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1802, allocations: 4 kB / 0.5677 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.1804, allocations: 39.95 kB / 0.5677 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1805, allocations: 4.188 kB / 0.5677 GB, free: 9.566 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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.0002809/0.1807, allocations: 235.8 kB / 0.5679 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1809, allocations: 67.52 kB / 0.568 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.1821, allocations: 394.6 kB / 0.5684 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1821, allocations: 4 kB / 0.5684 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1821, allocations: 0 / 0.5684 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1821, allocations: 7.984 kB / 0.5684 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.184, allocations: 0.9392 MB / 0.5693 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.184, allocations: 7.922 kB / 0.5693 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.1843, allocations: 59.94 kB / 0.5694 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1843, allocations: 0 / 0.5694 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1843, allocations: 12 kB / 0.5694 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1843, allocations: 0 / 0.5694 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1843, allocations: 7.938 kB / 0.5694 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.1855, allocations: 0.5197 MB / 0.5699 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.1857, allocations: 152.7 kB / 0.57 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.1858, allocations: 8 kB / 0.5701 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.1861, allocations: 35.95 kB / 0.5701 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.1862, allocations: 27.91 kB / 0.5701 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1862, allocations: 4 kB / 0.5701 GB, free: 6.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009713/0.1872, allocations: 0.7724 MB / 0.5709 GB, free: 6.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1872, allocations: 0 / 0.5709 GB, free: 6.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.1876, allocations: 59.98 kB / 0.5709 GB, free: 6.172 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 (18): * Single equations (assignments): 18 * 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.001555/0.1891, allocations: 403.1 kB / 0.5713 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1902, allocations: 271.6 kB / 0.5716 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1902, allocations: 4 kB / 0.5716 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.1907, allocations: 143.8 kB / 0.5717 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.1914, allocations: 87.72 kB / 0.5718 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1933, allocations: 1.052 MB / 0.5728 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.1938, allocations: 0.8702 MB / 0.5737 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.194, allocations: 47.42 kB / 0.5737 GB, free: 3.402 MB / 430.1 MB Notification: Performance of SimCode: time 1.803e-06/0.194, allocations: 0 / 0.5737 GB, free: 3.402 MB / 430.1 MB Notification: Performance of Templates: time 0.01204/0.2061, allocations: 6.545 MB / 0.5801 GB, free: 12.87 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.293677773006493]