Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008389/0.0008389, allocations: 83.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.00451/0.00451, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.868/0.868, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.234/0.234, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 440.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.717e-05, allocations: 6.219 kB / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002404/0.002431, allocations: 1.722 MB / 442.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003659, allocations: 0.9664 MB / 443.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.003747, allocations: 3.938 kB / 443.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.004052, allocations: 55.75 kB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.004377, allocations: 107.4 kB / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004594, allocations: 75.66 kB / 443.9 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.004764, allocations: 107.6 kB / 444 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004875, allocations: 4 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.004972, allocations: 59.81 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.005053, allocations: 27.92 kB / 444.1 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.005073, allocations: 4 kB / 444.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.005182, allocations: 47.86 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.005248, allocations: 35.84 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.005293, allocations: 19.92 kB / 444.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.005488, allocations: 139.5 kB / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005491, allocations: 0 / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005492, allocations: 0 / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.005499, allocations: 0 / 444.3 MB, free: 292 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1743/0.1798, allocations: 369 kB / 444.7 MB, free: 46.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1798, allocations: 8.656 kB / 444.7 MB, free: 46.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1799, allocations: 19.34 kB / 444.7 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1801, allocations: 157.3 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1801, allocations: 5.469 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1801, allocations: 5.156 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1803, allocations: 56.73 kB / 444.9 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1803, allocations: 0 / 444.9 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1803, allocations: 0.9375 kB / 444.9 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1803, allocations: 0 / 444.9 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.375e-05/0.1804, allocations: 31.05 kB / 444.9 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.1806, allocations: 238.5 kB / 445.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1808, allocations: 60.36 kB / 445.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.1808, allocations: 16.2 kB / 445.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1808, allocations: 3.719 kB / 445.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.1809, allocations: 69.86 kB / 445.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.255e-06/0.1809, allocations: 5.578 kB / 445.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004165/0.1813, allocations: 202.5 kB / 445.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1814, allocations: 54.22 kB / 445.6 MB, free: 46.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1815, allocations: 274.2 kB / 445.8 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.1815, allocations: 31.67 kB / 445.9 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.1816, allocations: 110.4 kB / 446 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1816, allocations: 26.88 kB / 446 MB, free: 45.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1816, allocations: 26.42 kB / 446 MB, free: 45.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.1817, allocations: 327.4 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.1817, allocations: 27.23 kB / 446.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.1817, allocations: 34.62 kB / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.1818, allocations: 62.75 kB / 446.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1818, allocations: 0 / 446.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001133/0.1819, allocations: 117.2 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1819, allocations: 5.312 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1819, allocations: 0 / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1819, allocations: 10.08 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.182, allocations: 17.28 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.182, allocations: 0 / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.182, allocations: 9.781 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1821, allocations: 2.812 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.216e-05/0.1821, allocations: 137.2 kB / 446.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1821, allocations: 21.67 kB / 446.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.1823, allocations: 124.2 kB / 446.9 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1823, allocations: 3.5 kB / 446.9 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1823, allocations: 1.812 kB / 446.9 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1823, allocations: 3.281 kB / 446.9 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1825, allocations: 363.3 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1825, allocations: 0 / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.1826, allocations: 8.812 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1826, allocations: 2.906 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1826, allocations: 0 / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1826, allocations: 6.438 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1826, allocations: 0 / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1827, allocations: 221.9 kB / 447.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.1827, allocations: 17.08 kB / 447.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1827, allocations: 2.844 kB / 447.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.1828, allocations: 0 / 447.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.1828, allocations: 13.34 kB / 447.5 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1828, allocations: 5.906 kB / 447.5 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.478e-05/0.1829, allocations: 211.5 kB / 447.7 MB, free: 44.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 5.25 kB / 447.8 MB, free: 44.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.1831, allocations: 25.47 kB / 447.8 MB, free: 44.68 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007671/0.1838, allocations: 497.3 kB / 448.3 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.184, allocations: 60.09 kB / 448.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.184, allocations: 3.938 kB / 448.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.184, allocations: 28.78 kB / 448.4 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1842, allocations: 38.94 kB / 448.4 MB, free: 44.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.1846, allocations: 320 kB / 448.7 MB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.1847, allocations: 104.4 kB / 448.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1847, allocations: 25.34 kB / 448.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1847, allocations: 3.828 kB / 448.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of Templates: time 0.002733/0.1875, allocations: 2.174 MB / 451 MB, free: 43.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.816509274765849]