Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.00126/0.00126, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003265/0.003265, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8255/0.8255, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.229/0.229, allocations: 34.27 MB / 295.7 MB, free: 0.7148 MB / 266.7 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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.366e-05, allocations: 5.234 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.1764/0.1765, allocations: 1.606 MB / 445.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006859/0.1771, allocations: 0.5436 MB / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.1772, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1774, allocations: 81.88 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1776, allocations: 109.7 kB / 445.8 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.1778, allocations: 109.8 kB / 445.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.178, allocations: 92.42 kB / 446 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.178, allocations: 9.781 kB / 446 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.1781, allocations: 44.3 kB / 446 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.1782, allocations: 58.12 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1782, allocations: 3.25 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.1783, allocations: 50.08 kB / 446.2 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.1783, allocations: 19.3 kB / 446.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.1783, allocations: 13.59 kB / 446.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1785, allocations: 104.6 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1785, allocations: 2.875 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1785, allocations: 3.781 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1785, allocations: 3.938 kB / 446.3 MB, free: 43.46 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000319/0.1788, allocations: 345.5 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1788, allocations: 11.03 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.1789, allocations: 14.09 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.179, allocations: 135 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.179, allocations: 3.125 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.179, allocations: 3.188 kB / 446.8 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.1791, allocations: 53.11 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1791, allocations: 192 / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1791, allocations: 10.81 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1791, allocations: 2.625 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.1792, allocations: 27.16 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.1794, allocations: 242.4 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.1795, allocations: 46.8 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.1795, allocations: 24.12 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1795, allocations: 0 / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.1795, allocations: 37.59 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1795, allocations: 2.781 kB / 447.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005193/0.18, allocations: 240.1 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.1801, allocations: 54.06 kB / 447.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1802, allocations: 209.3 kB / 447.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.1802, allocations: 29.7 kB / 447.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.1802, allocations: 108.9 kB / 447.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1802, allocations: 25.92 kB / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.1803, allocations: 24.59 kB / 447.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.1803, allocations: 324.8 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.1803, allocations: 35.56 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.1804, allocations: 35.59 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.1804, allocations: 76.66 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1804, allocations: 0 / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000104/0.1805, allocations: 109.1 kB / 448.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1806, allocations: 7.031 kB / 448.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1806, allocations: 0 / 448.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1806, allocations: 0 / 448.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.1806, allocations: 21.52 kB / 448.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1806, allocations: 2.906 kB / 448.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.1807, allocations: 12.14 kB / 448.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1807, allocations: 3.047 kB / 448.5 MB, free: 41.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 4.566e-05/0.1807, allocations: 136.7 kB / 448.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.1807, allocations: 16.53 kB / 448.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.1809, allocations: 127 kB / 448.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1809, allocations: 0 / 448.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1809, allocations: 2.844 kB / 448.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1809, allocations: 4 kB / 448.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1811, allocations: 356.7 kB / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1811, allocations: 0 / 449.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1812, allocations: 21.56 kB / 449.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1812, allocations: 2.812 kB / 449.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1812, allocations: 3.188 kB / 449.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1812, allocations: 3.938 kB / 449.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1812, allocations: 2.938 kB / 449.2 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.1813, allocations: 219.4 kB / 449.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.1813, allocations: 10.89 kB / 449.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1813, allocations: 3.234 kB / 449.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.1813, allocations: 5.844 kB / 449.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.1814, allocations: 10.06 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.1814, allocations: 0 / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.928e-05/0.1814, allocations: 171.5 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1814, allocations: 0 / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.1816, allocations: 22.94 kB / 449.6 MB, free: 41.02 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.0006748/0.1823, allocations: 493.2 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1824, allocations: 79.09 kB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1824, allocations: 0 / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.1824, allocations: 42.69 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1827, allocations: 15.22 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.183, allocations: 302.4 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.1831, allocations: 101.6 kB / 450.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1831, allocations: 21.19 kB / 450.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1831, allocations: 0 / 450.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of Templates: time 0.00229/0.1854, allocations: 1.877 MB / 452.5 MB, free: 40.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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: 4.763590896502137]