Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4619/0.4619, allocations: 39.93 MB / 309.3 MB, free: 9.328 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002375, allocations: 74.41 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1846, allocations: 56.88 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004179/0.1889, allocations: 1.767 MB / 435.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1907, allocations: 0.7923 MB / 436.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.1908, allocations: 0 / 436.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1914, allocations: 103.7 kB / 436.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1916, allocations: 79.75 kB / 436.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1919, allocations: 75.86 kB / 436.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1922, allocations: 115.7 kB / 436.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1924, allocations: 19.98 kB / 436.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1925, allocations: 63.75 kB / 436.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1927, allocations: 63.75 kB / 436.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1927, allocations: 0 / 436.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1929, allocations: 47.92 kB / 436.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.193, allocations: 27.91 kB / 437 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.193, allocations: 39.67 kB / 437 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1933, allocations: 135.8 kB / 437.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.1933, allocations: 3.984 kB / 437.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1933, allocations: 4 kB / 437.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1934, allocations: 0 / 437.1 MB, free: 0.7812 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008488/0.1942, allocations: 446.7 kB / 437.6 MB, free: 304 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1943, allocations: 11.97 kB / 437.6 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.1943, allocations: 16.83 kB / 437.6 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1947, allocations: 235.6 kB / 437.8 MB, free: 0 / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1947, allocations: 384 / 437.8 MB, free: 0 / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.1948, allocations: 8.172 kB / 437.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.195, allocations: 69.61 kB / 437.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.195, allocations: 3.906 kB / 437.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.195, allocations: 4 kB / 437.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1951, allocations: 0 / 437.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1952, allocations: 31.92 kB / 438 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.1958, allocations: 312.8 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.196, allocations: 78.77 kB / 438.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.1961, allocations: 28.84 kB / 438.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1962, allocations: 0 / 438.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.1965, allocations: 79.36 kB / 438.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1965, allocations: 0 / 438.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007401/0.1972, allocations: 228.9 kB / 438.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.1973, allocations: 55.41 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1976, allocations: 254.5 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1976, allocations: 25.7 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1977, allocations: 112.1 kB / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.1978, allocations: 35.55 kB / 439.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.1978, allocations: 21.72 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.198, allocations: 334.8 kB / 439.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.1981, allocations: 35.98 kB / 439.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.1982, allocations: 45.64 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1983, allocations: 81.7 kB / 439.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1983, allocations: 0 / 439.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002172/0.1985, allocations: 133.4 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1986, allocations: 8 kB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1986, allocations: 4.031 kB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1986, allocations: 0 / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1987, allocations: 23.98 kB / 439.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1988, allocations: 3.938 kB / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1988, allocations: 0 / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1988, allocations: 4 kB / 439.8 MB, free: 13.86 MB / 382.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: 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 (13): * Single equations (assignments): 13 * 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.0001521/0.199, allocations: 145.7 kB / 440 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.199, allocations: 15.81 kB / 440 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.1991, allocations: 21.39 kB / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1991, allocations: 4 kB / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.1991, allocations: 3.938 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1991, allocations: 4 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.1997, allocations: 447.2 kB / 440.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1997, allocations: 4 kB / 440.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1998, allocations: 19.88 kB / 440.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1998, allocations: 0 / 440.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1998, allocations: 16.02 kB / 440.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1998, allocations: 0 / 440.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1998, allocations: 0 / 440.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.2001, allocations: 232.2 kB / 440.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.2001, allocations: 92.94 kB / 440.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.2002, allocations: 8 kB / 440.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.2003, allocations: 0 / 440.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.2003, allocations: 15.97 kB / 440.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.2003, allocations: 4 kB / 440.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.2005, allocations: 188.2 kB / 441 MB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2005, allocations: 0 / 441 MB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.2008, allocations: 31.91 kB / 441 MB, free: 12.53 MB / 382.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: 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 (11): * Single equations (assignments): 9 * 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.001025/0.2018, allocations: 481.7 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.202, allocations: 83.84 kB / 441.6 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2021, allocations: 0 / 441.6 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.2022, allocations: 43.92 kB / 441.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.2025, allocations: 39.8 kB / 441.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.2032, allocations: 325.6 kB / 442 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2036, allocations: 0.7243 MB / 442.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.2037, allocations: 21.06 kB / 442.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.2037, allocations: 23.38 kB / 442.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2037, allocations: 0 / 442.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Templates: time 0.004848/0.2086, allocations: 1.829 MB / 444.6 MB, free: 8.953 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)