Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001977/0.001977, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002395/0.002395, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.642/1.642, allocations: 230.6 MB / 254.1 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.2435/0.2435, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.CombiTable2Dv.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.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.91 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1567, allocations: 65.99 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003752/0.1604, allocations: 1.878 MB / 0.5577 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1618, allocations: 0.7209 MB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.1619, allocations: 0 / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.1624, allocations: 167.5 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1628, allocations: 175.3 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.1635, allocations: 330.1 kB / 0.559 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1639, allocations: 231.5 kB / 0.5593 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.164, allocations: 53.64 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1642, allocations: 103.6 kB / 0.5594 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1644, allocations: 159.5 kB / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.1644, allocations: 12 kB / 0.5596 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1646, allocations: 43.98 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1647, allocations: 107.6 kB / 0.5597 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1648, allocations: 135 kB / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.1652, allocations: 294.5 kB / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1652, allocations: 0 / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1652, allocations: 0 / 0.5601 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1652, allocations: 0 / 0.5601 GB, free: 0.9492 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001096/0.1663, allocations: 0.6611 MB / 0.5608 GB, free: 244 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1664, allocations: 12.03 kB / 0.5608 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.1665, allocations: 40.66 kB / 0.5608 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.167, allocations: 374.4 kB / 0.5612 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.167, allocations: 8.375 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.167, allocations: 12.38 kB / 0.5612 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.1675, allocations: 171.4 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1676, allocations: 7.922 kB / 0.5614 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1676, allocations: 4 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1676, allocations: 8 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.1682, allocations: 143.8 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1692, allocations: 0.6411 MB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.1697, allocations: 153.1 kB / 0.5623 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.17, allocations: 81.78 kB / 0.5624 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.17, allocations: 7.984 kB / 0.5624 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.17, allocations: 30.56 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.17, allocations: 0 / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002957/0.173, allocations: 0.8008 MB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.173, allocations: 81.05 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.1738, allocations: 0.5878 MB / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1738, allocations: 29.7 kB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.174, allocations: 196.4 kB / 0.5641 GB, free: 12.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.174, allocations: 59.44 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.1741, allocations: 41.7 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1743, allocations: 355 kB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.1748, allocations: 131.9 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.1753, allocations: 159.4 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.1763, allocations: 297.4 kB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1763, allocations: 192 / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001179/0.1775, allocations: 373.2 kB / 0.5654 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1775, allocations: 4.094 kB / 0.5654 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1775, allocations: 4.016 kB / 0.5654 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.1775, allocations: 7.984 kB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.1779, allocations: 63.94 kB / 0.5655 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1779, allocations: 3.984 kB / 0.5655 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.1782, allocations: 35.95 kB / 0.5655 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1782, allocations: 7.984 kB / 0.5655 GB, free: 11.14 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.0002361/0.1785, allocations: 191.9 kB / 0.5657 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1786, allocations: 47.72 kB / 0.5658 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1799, allocations: 412.6 kB / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1799, allocations: 4 kB / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1799, allocations: 0 / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1799, allocations: 0 / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.1819, allocations: 0.915 MB / 0.567 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1819, allocations: 0 / 0.567 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1822, allocations: 63.88 kB / 0.5671 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1822, allocations: 4 kB / 0.5671 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1822, allocations: 4 kB / 0.5671 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1822, allocations: 4 kB / 0.5671 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1822, allocations: 0 / 0.5671 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.1835, allocations: 0.5392 MB / 0.5676 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1836, allocations: 120.9 kB / 0.5678 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.1836, allocations: 0 / 0.5678 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.184, allocations: 43.94 kB / 0.5678 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.184, allocations: 27.8 kB / 0.5678 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1841, allocations: 7.984 kB / 0.5678 GB, free: 8.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005279/0.1846, allocations: 439.1 kB / 0.5683 GB, free: 8.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.5683 GB, free: 8.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.185, allocations: 55.98 kB / 0.5683 GB, free: 8.191 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.001616/0.1866, allocations: 407 kB / 0.5687 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.1877, allocations: 303.6 kB / 0.569 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1877, allocations: 0 / 0.569 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.1883, allocations: 159.7 kB / 0.5691 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.1888, allocations: 53.92 kB / 0.5692 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.19, allocations: 0.7175 MB / 0.5699 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.1905, allocations: 0.8143 MB / 0.5707 GB, free: 5.859 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.1907, allocations: 74.53 kB / 0.5708 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1908, allocations: 23.44 kB / 0.5708 GB, free: 5.766 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1908, allocations: 4 kB / 0.5708 GB, free: 5.762 MB / 430.1 MB Notification: Performance of Templates: time 0.008737/0.1996, allocations: 3.712 MB / 0.5744 GB, free: 2.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.6056501083076]