Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001571/0.001571, allocations: 111.7 kB / 19.17 MB, free: 3.871 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.001906/0.001906, allocations: 205 kB / 22.12 MB, free: 0.9219 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.552/1.552, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2643/0.2643, allocations: 46.92 MB / 358.2 MB, free: 10.41 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.CombiTable2Dv.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.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-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.002632/0.002632, allocations: 83.84 kB / 0.4925 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1602, allocations: 66 MB / 0.557 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004379/0.1646, allocations: 1.879 MB / 0.5588 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1662, allocations: 0.7165 MB / 0.5595 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1664, allocations: 0 / 0.5595 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.1669, allocations: 175.4 kB / 0.5597 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005545/0.1675, allocations: 175.2 kB / 0.5599 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.1684, allocations: 322.3 kB / 0.5602 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.1688, allocations: 231.4 kB / 0.5604 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.169, allocations: 57.62 kB / 0.5604 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1692, allocations: 95.62 kB / 0.5605 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1695, allocations: 167.4 kB / 0.5607 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1695, allocations: 12 kB / 0.5607 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1697, allocations: 47.98 kB / 0.5607 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.1699, allocations: 99.67 kB / 0.5608 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.17, allocations: 131 kB / 0.561 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1705, allocations: 294.5 kB / 0.5612 GB, free: 1.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1705, allocations: 0 / 0.5612 GB, free: 1.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1705, allocations: 0 / 0.5612 GB, free: 1.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1705, allocations: 0 / 0.5612 GB, free: 1.125 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.001178/0.1717, allocations: 0.6728 MB / 0.5619 GB, free: 408 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1717, allocations: 8.031 kB / 0.5619 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.1719, allocations: 44.66 kB / 0.5619 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.1724, allocations: 366.5 kB / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.1724, allocations: 8.375 kB / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.1725, allocations: 8.375 kB / 0.5623 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.173, allocations: 175.7 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.173, allocations: 8.172 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.173, allocations: 3.938 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.173, allocations: 0 / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.1736, allocations: 155.8 kB / 0.5626 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1747, allocations: 0.6333 MB / 0.5633 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.1752, allocations: 153.1 kB / 0.5634 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1755, allocations: 89.77 kB / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1755, allocations: 4 kB / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1755, allocations: 38.5 kB / 0.5635 GB, free: 14.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1755, allocations: 0 / 0.5635 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002883/0.1784, allocations: 0.793 MB / 0.5643 GB, free: 13.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.1785, allocations: 85.09 kB / 0.5644 GB, free: 13.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.1792, allocations: 0.58 MB / 0.565 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1793, allocations: 37.7 kB / 0.565 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1795, allocations: 192.4 kB / 0.5652 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.1795, allocations: 63.44 kB / 0.5652 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.1796, allocations: 33.92 kB / 0.5653 GB, free: 12.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1798, allocations: 354.8 kB / 0.5656 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.1803, allocations: 143.8 kB / 0.5657 GB, free: 12.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.1808, allocations: 149.6 kB / 0.5659 GB, free: 12.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.1817, allocations: 301.5 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1817, allocations: 4.188 kB / 0.5662 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001115/0.1829, allocations: 373.1 kB / 0.5665 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1829, allocations: 8 kB / 0.5665 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1829, allocations: 3.984 kB / 0.5665 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1829, allocations: 0 / 0.5665 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.1832, allocations: 63.88 kB / 0.5666 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1832, allocations: 4 kB / 0.5666 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1835, allocations: 39.95 kB / 0.5666 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1835, allocations: 7.984 kB / 0.5667 GB, free: 11.3 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.0001928/0.1837, allocations: 181.8 kB / 0.5668 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.1838, allocations: 43.66 kB / 0.5669 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1851, allocations: 420.6 kB / 0.5673 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1851, allocations: 0 / 0.5673 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1851, allocations: 0 / 0.5673 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1851, allocations: 4 kB / 0.5673 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.1868, allocations: 0.9152 MB / 0.5682 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1868, allocations: 0 / 0.5682 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.1871, allocations: 60.03 kB / 0.5682 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1871, allocations: 3.938 kB / 0.5682 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1872, allocations: 8 kB / 0.5682 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1872, allocations: 0 / 0.5682 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1872, allocations: 4 kB / 0.5682 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1883, allocations: 0.5351 MB / 0.5688 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1884, allocations: 120.9 kB / 0.5689 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.1885, allocations: 8 kB / 0.5689 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.1887, allocations: 43.88 kB / 0.5689 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.1888, allocations: 19.98 kB / 0.5689 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1888, allocations: 7.984 kB / 0.569 GB, free: 8.844 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004863/0.1893, allocations: 439 kB / 0.5694 GB, free: 8.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 0 / 0.5694 GB, free: 8.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.1897, allocations: 55.98 kB / 0.5694 GB, free: 8.363 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.001512/0.1912, allocations: 400.5 kB / 0.5698 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1922, allocations: 303.6 kB / 0.5701 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1922, allocations: 0 / 0.5701 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.1927, allocations: 159.8 kB / 0.5703 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.1933, allocations: 52.34 kB / 0.5703 GB, free: 7.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1945, allocations: 0.7387 MB / 0.571 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.195, allocations: 0.8107 MB / 0.5718 GB, free: 5.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1951, allocations: 31.44 kB / 0.5718 GB, free: 5.961 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1951, allocations: 0 / 0.5718 GB, free: 5.961 MB / 430.1 MB Notification: Performance of Templates: time 0.007557/0.2026, allocations: 4.693 MB / 0.5764 GB, free: 1.285 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.133994188989163]