Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001128/0.001128, 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.006385/0.006385, 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.857/0.857, allocations: 177.1 MB / 205 MB, free: 5.738 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.2514/0.2514, allocations: 32.79 MB / 294.2 MB, free: 1.184 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 4 kB / 440.9 MB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.077e-05, allocations: 6.781 kB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001998/0.002019, allocations: 1.717 MB / 442.7 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.00316, allocations: 0.9726 MB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.003236, allocations: 3.938 kB / 443.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.003535, allocations: 59.73 kB / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.00384, allocations: 107.4 kB / 443.8 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004018, allocations: 79.66 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.004179, allocations: 99.64 kB / 444 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.004278, allocations: 11.98 kB / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.004355, allocations: 51.83 kB / 444 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.004425, allocations: 27.92 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.00444, allocations: 4 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.004522, allocations: 47.86 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.004583, allocations: 39.83 kB / 444.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.004622, allocations: 15.94 kB / 444.2 MB, free: 392 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004811, allocations: 139.5 kB / 444.3 MB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004814, allocations: 4 kB / 444.3 MB, free: 248 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004815, allocations: 0 / 444.3 MB, free: 248 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004819, allocations: 0 / 444.3 MB, free: 248 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.1696/0.1744, allocations: 370.3 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1744, allocations: 11.38 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1745, allocations: 14.72 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1747, allocations: 162.9 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1747, allocations: 3.281 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1747, allocations: 1.969 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1749, allocations: 56.44 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1749, allocations: 5.672 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1749, allocations: 0.75 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1749, allocations: 0 / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.1749, allocations: 27.03 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.1752, allocations: 235.1 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1753, allocations: 59.95 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.1754, allocations: 20.81 kB / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1754, allocations: 3.125 kB / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.1755, allocations: 70.75 kB / 445.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1755, allocations: 0 / 445.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004021/0.1759, allocations: 197.1 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.1759, allocations: 54.53 kB / 445.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1761, allocations: 276.3 kB / 445.8 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.1761, allocations: 28.33 kB / 445.9 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1761, allocations: 118.4 kB / 446 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1761, allocations: 22.59 kB / 446 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.1761, allocations: 27.17 kB / 446 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.1762, allocations: 330.1 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.1762, allocations: 19.12 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.1763, allocations: 40.5 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.362e-05/0.1763, allocations: 64.98 kB / 446.5 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1763, allocations: 2.531 kB / 446.5 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001053/0.1764, allocations: 112.7 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1764, allocations: 5.562 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1764, allocations: 3 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1765, allocations: 3.469 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.1765, allocations: 25.78 kB / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1765, allocations: 2.906 kB / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.1766, allocations: 0 / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1766, allocations: 2.906 kB / 446.6 MB, free: 45.51 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 5.706e-05/0.1766, allocations: 135.7 kB / 446.8 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1766, allocations: 25.05 kB / 446.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.1768, allocations: 128.9 kB / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1768, allocations: 0 / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1768, allocations: 2.969 kB / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1768, allocations: 3.656 kB / 446.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.177, allocations: 364 kB / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.177, allocations: 0 / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.177, allocations: 8.656 kB / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.177, allocations: 3.031 kB / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1771, allocations: 0 / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1771, allocations: 6.219 kB / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1771, allocations: 0 / 447.3 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.1772, allocations: 218.5 kB / 447.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.1772, allocations: 17.06 kB / 447.5 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1772, allocations: 4.562 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.1772, allocations: 3.062 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1773, allocations: 6.188 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1773, allocations: 6.844 kB / 447.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.1774, allocations: 212.2 kB / 447.8 MB, free: 44.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 1.688 kB / 447.8 MB, free: 44.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.1775, allocations: 28.66 kB / 447.8 MB, free: 44.72 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.0007601/0.1783, allocations: 498.5 kB / 448.3 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1784, allocations: 64.23 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1784, allocations: 3.938 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.1785, allocations: 27.2 kB / 448.4 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1787, allocations: 33.73 kB / 448.4 MB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.1791, allocations: 323.5 kB / 448.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.1791, allocations: 108.2 kB / 448.8 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.1792, allocations: 24.81 kB / 448.8 MB, free: 44.25 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1792, allocations: 3.828 kB / 448.8 MB, free: 44.25 MB / 410.7 MB Notification: Performance of Templates: time 0.002534/0.1817, allocations: 2.172 MB / 451 MB, free: 44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.859326460398734]