Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.001186/0.001186, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001381/0.001381, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.532/1.532, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.264/0.264, allocations: 46.92 MB / 358.2 MB, free: 10.42 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.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [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.002563/0.002563, allocations: 75.88 kB / 0.4925 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1644, allocations: 66 MB / 0.557 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004454/0.1689, allocations: 2.026 MB / 0.559 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1706, allocations: 0.8061 MB / 0.5597 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.1708, allocations: 4 kB / 0.5597 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.1714, allocations: 179.4 kB / 0.5599 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006438/0.172, allocations: 219 kB / 0.5601 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1731, allocations: 417.5 kB / 0.5605 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.1735, allocations: 311 kB / 0.5608 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1736, allocations: 44.72 kB / 0.5609 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1738, allocations: 131.5 kB / 0.561 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.174, allocations: 175.3 kB / 0.5612 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.1741, allocations: 12 kB / 0.5612 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1742, allocations: 47.92 kB / 0.5612 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.1744, allocations: 179.5 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.1746, allocations: 174.6 kB / 0.5616 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.1751, allocations: 425.8 kB / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1751, allocations: 0 / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1751, allocations: 0 / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1751, allocations: 0 / 0.562 GB, free: 420 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.001308/0.1764, allocations: 0.8627 MB / 0.5628 GB, free: 15.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1765, allocations: 12.03 kB / 0.5628 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.1766, allocations: 64.52 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.1773, allocations: 0.5126 MB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1773, allocations: 4.375 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.1774, allocations: 12.38 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.1778, allocations: 151.9 kB / 0.5635 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1778, allocations: 4.188 kB / 0.5635 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1778, allocations: 7.938 kB / 0.5635 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1778, allocations: 4 kB / 0.5635 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.1783, allocations: 127.8 kB / 0.5637 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1795, allocations: 0.7308 MB / 0.5644 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.1799, allocations: 133.4 kB / 0.5645 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.1802, allocations: 73.78 kB / 0.5646 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.1803, allocations: 7.938 kB / 0.5646 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1803, allocations: 34.56 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1803, allocations: 0 / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002915/0.1832, allocations: 0.8191 MB / 0.5654 GB, free: 12.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.1833, allocations: 81.11 kB / 0.5655 GB, free: 12.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.1846, allocations: 1.055 MB / 0.5665 GB, free: 11.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1846, allocations: 29.7 kB / 0.5666 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.1849, allocations: 280.4 kB / 0.5668 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.185, allocations: 63.44 kB / 0.5669 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.185, allocations: 29.7 kB / 0.5669 GB, free: 11.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1852, allocations: 322.1 kB / 0.5672 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.1857, allocations: 119.8 kB / 0.5673 GB, free: 10.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.1862, allocations: 139.5 kB / 0.5675 GB, free: 10.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.1871, allocations: 253.4 kB / 0.5677 GB, free: 10.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1871, allocations: 0 / 0.5677 GB, free: 10.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.1883, allocations: 365 kB / 0.5681 GB, free: 9.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1883, allocations: 4 kB / 0.5681 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.1883, allocations: 0.75 kB / 0.5681 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1884, allocations: 4 kB / 0.5681 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1887, allocations: 67.94 kB / 0.5681 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1887, allocations: 0 / 0.5681 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.189, allocations: 39.94 kB / 0.5682 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.189, allocations: 4 kB / 0.5682 GB, free: 9.766 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.0003212/0.1894, allocations: 229.7 kB / 0.5684 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1895, allocations: 75.52 kB / 0.5685 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.1907, allocations: 390.6 kB / 0.5688 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1908, allocations: 4 kB / 0.5688 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1908, allocations: 0 / 0.5688 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1908, allocations: 0 / 0.5688 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.1928, allocations: 0.9541 MB / 0.5698 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1928, allocations: 0 / 0.5698 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.1931, allocations: 67.88 kB / 0.5698 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1931, allocations: 4 kB / 0.5698 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1932, allocations: 11.97 kB / 0.5699 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1932, allocations: 0 / 0.5699 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1932, allocations: 4 kB / 0.5699 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1943, allocations: 0.5137 MB / 0.5704 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1945, allocations: 152.7 kB / 0.5705 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.1946, allocations: 4 kB / 0.5705 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1949, allocations: 39.94 kB / 0.5705 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.195, allocations: 19.92 kB / 0.5706 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.195, allocations: 11.98 kB / 0.5706 GB, free: 7.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000991/0.196, allocations: 0.7723 MB / 0.5713 GB, free: 6.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.196, allocations: 0 / 0.5713 GB, free: 6.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.1964, allocations: 60 kB / 0.5714 GB, free: 6.367 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.001559/0.1979, allocations: 403.6 kB / 0.5718 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.199, allocations: 263.7 kB / 0.572 GB, free: 5.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.199, allocations: 0 / 0.572 GB, free: 5.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.1995, allocations: 143.8 kB / 0.5722 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.2002, allocations: 96.78 kB / 0.5723 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2019, allocations: 1.045 MB / 0.5733 GB, free: 4.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.2025, allocations: 0.8815 MB / 0.5741 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.2026, allocations: 47.42 kB / 0.5742 GB, free: 3.574 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2026, allocations: 0 / 0.5742 GB, free: 3.574 MB / 430.1 MB Notification: Performance of Templates: time 0.01084/0.2135, allocations: 6.533 MB / 0.5806 GB, free: 13.05 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.038457596994704]