Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001216/0.001216, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.624/1.624, allocations: 205.1 MB / 222 MB, free: 4.957 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.4071/0.4071, allocations: 39.93 MB / 309.3 MB, free: 9.566 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.001505/0.001505, allocations: 68.38 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1851, allocations: 56.88 MB / 433.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004282/0.1894, allocations: 1.759 MB / 435.6 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1911, allocations: 0.7884 MB / 436.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.1911, allocations: 0 / 436.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1915, allocations: 83.75 kB / 436.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1918, allocations: 71.8 kB / 436.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1922, allocations: 79.78 kB / 436.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1923, allocations: 103.7 kB / 436.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1925, allocations: 12.22 kB / 436.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.1926, allocations: 47.78 kB / 436.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1927, allocations: 67.73 kB / 436.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1927, allocations: 4 kB / 436.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1928, allocations: 39.98 kB / 436.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.1929, allocations: 27.84 kB / 436.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.193, allocations: 35.73 kB / 436.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1932, allocations: 115.9 kB / 437 MB, free: 1.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1932, allocations: 0 / 437 MB, free: 1.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1932, allocations: 4 kB / 437 MB, free: 1.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1932, allocations: 0 / 437 MB, free: 1.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007601/0.194, allocations: 430.8 kB / 437.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1941, allocations: 8.031 kB / 437.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.1941, allocations: 12.84 kB / 437.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1944, allocations: 216 kB / 437.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1944, allocations: 4.375 kB / 437.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1945, allocations: 4.125 kB / 437.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1947, allocations: 53.67 kB / 437.7 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1947, allocations: 4 kB / 437.8 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.1947, allocations: 3.984 kB / 437.8 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1947, allocations: 0 / 437.8 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.1948, allocations: 27.92 kB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.1954, allocations: 288.8 kB / 438.1 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1956, allocations: 54.69 kB / 438.1 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/0.1957, allocations: 20.92 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1958, allocations: 4 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.196, allocations: 75.33 kB / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.196, allocations: 0 / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006721/0.1967, allocations: 181 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.1968, allocations: 51.41 kB / 438.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.1971, allocations: 222.6 kB / 438.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.1973, allocations: 25.7 kB / 438.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.1974, allocations: 112.1 kB / 438.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.1974, allocations: 27.66 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1975, allocations: 21.7 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004786/0.198, allocations: 330.8 kB / 439.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.1981, allocations: 23.98 kB / 439.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.1981, allocations: 37.7 kB / 439.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1983, allocations: 65.59 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1983, allocations: 0 / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1985, allocations: 101.5 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1985, allocations: 4 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1985, allocations: 0 / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1985, allocations: 0 / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1986, allocations: 19.94 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1987, allocations: 8.125 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.1987, allocations: 11.94 kB / 439.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1987, allocations: 0 / 439.4 MB, free: 14.61 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 (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 0.0001425/0.1989, allocations: 129.9 kB / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1989, allocations: 11.91 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.199, allocations: 17.41 kB / 439.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.199, allocations: 4 kB / 439.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.199, allocations: 0 / 439.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.199, allocations: 7.922 kB / 439.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.1997, allocations: 399.2 kB / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1997, allocations: 0 / 440 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.1997, allocations: 11.94 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1997, allocations: 0 / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1997, allocations: 7.938 kB / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1997, allocations: 0 / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1998, allocations: 0 / 440 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2, allocations: 208.7 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.2001, allocations: 88.92 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.2001, allocations: 7.938 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.2002, allocations: 4 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.2003, allocations: 15.97 kB / 440.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.2003, allocations: 4.188 kB / 440.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.2005, allocations: 168.3 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2005, allocations: 3.938 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.2008, allocations: 31.98 kB / 440.5 MB, free: 13.4 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 (8): * Single equations (assignments): 6 * 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.001275/0.2021, allocations: 464.9 kB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.2023, allocations: 59.97 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2023, allocations: 4.062 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.2024, allocations: 23.94 kB / 441.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.2028, allocations: 31.97 kB / 441.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.2034, allocations: 284.7 kB / 441.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2037, allocations: 0.7082 MB / 442.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.468e-05/0.2038, allocations: 13.19 kB / 442.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.2038, allocations: 23.36 kB / 442.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2038, allocations: 4 kB / 442.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005194/0.209, allocations: 1.645 MB / 443.8 MB, free: 10.13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)