Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0008415/0.0008415, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004163/0.004163, allocations: 162.9 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.8786/0.8786, allocations: 177.1 MB / 205 MB, free: 5.73 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.2638/0.2638, allocations: 34.25 MB / 295.7 MB, free: 0.6797 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 443.4 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.018e-05, allocations: 2.281 kB / 443.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.1771/0.1771, allocations: 1.59 MB / 445 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.1778, allocations: 0.5256 MB / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.1778, allocations: 0 / 445.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.178, allocations: 27.27 kB / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1782, allocations: 79.77 kB / 445.7 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1784, allocations: 94.27 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.1785, allocations: 67.75 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1786, allocations: 11.97 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.1787, allocations: 29.11 kB / 445.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.1787, allocations: 15.83 kB / 445.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1787, allocations: 2.656 kB / 445.9 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.1788, allocations: 35.94 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.1788, allocations: 19.39 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1788, allocations: 13.12 kB / 446 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.179, allocations: 84 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.179, allocations: 0 / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.179, allocations: 0 / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.179, allocations: 0 / 446 MB, free: 43.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003066/0.1793, allocations: 314.5 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1793, allocations: 14.98 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1793, allocations: 7.703 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1794, allocations: 135.1 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1795, allocations: 3.781 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1795, allocations: 1.5 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.1796, allocations: 57.11 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1796, allocations: 2.344 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1796, allocations: 4.125 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1796, allocations: 2.938 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.1796, allocations: 22.03 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.1798, allocations: 216 kB / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.18, allocations: 51.28 kB / 446.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.18, allocations: 14.33 kB / 446.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.18, allocations: 7 kB / 446.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.18, allocations: 33.98 kB / 446.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.18, allocations: 0 / 446.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003375/0.1804, allocations: 147.6 kB / 447 MB, free: 42.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.1804, allocations: 54.31 kB / 447.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.1805, allocations: 160.8 kB / 447.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.1805, allocations: 25.7 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.1805, allocations: 99.91 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1805, allocations: 11.28 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.1805, allocations: 18.7 kB / 447.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.1806, allocations: 328.6 kB / 447.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.1806, allocations: 16.12 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1806, allocations: 22.61 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.807e-05/0.1807, allocations: 46.78 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1807, allocations: 1.5 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.135e-05/0.1808, allocations: 87.77 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1808, allocations: 10.34 kB / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1808, allocations: 0 / 447.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1808, allocations: 6.984 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.1808, allocations: 11.23 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1808, allocations: 2.875 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.1809, allocations: 6.234 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1809, allocations: 0 / 447.9 MB, free: 41.96 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 (5): * Single equations (assignments): 5 * 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.165e-05/0.1809, allocations: 124.7 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.1809, allocations: 12.91 kB / 448.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.181, allocations: 90.38 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.181, allocations: 6.312 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.181, allocations: 0 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.181, allocations: 0 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1812, allocations: 288.6 kB / 448.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1812, allocations: 6.812 kB / 448.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.1813, allocations: 18.62 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1813, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.1813, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1813, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.1813, allocations: 0 / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.1814, allocations: 179 kB / 448.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.1814, allocations: 6.859 kB / 448.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.1814, allocations: 2.812 kB / 448.7 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.277e-05/0.1814, allocations: 13.75 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.1814, allocations: 3.328 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1814, allocations: 2.844 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.1815, allocations: 128.6 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1815, allocations: 0 / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.1816, allocations: 23.67 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0006091/0.1822, allocations: 438 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1823, allocations: 45.48 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1823, allocations: 3.062 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/0.1824, allocations: 25.05 kB / 449.3 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1826, allocations: 12.83 kB / 449.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.1829, allocations: 219.4 kB / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.1829, allocations: 78.27 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.183, allocations: 15.41 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.183, allocations: 6.844 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of Templates: time 0.00193/0.1849, allocations: 1.487 MB / 451.1 MB, free: 40.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.714284188114107]