Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, 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.001701/0.001701, allocations: 192.2 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.775/1.775, allocations: 205.1 MB / 222 MB, free: 4.742 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.4789/0.4789, allocations: 39.93 MB / 309.3 MB, free: 9.375 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.002754/0.002755, allocations: 67.91 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2154, allocations: 56.88 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00529/0.2208, allocations: 1.903 MB / 435.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2229, allocations: 0.8858 MB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2231, allocations: 7.938 kB / 436.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007008/0.2238, allocations: 207.6 kB / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.2243, allocations: 163.5 kB / 437 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.2248, allocations: 123.8 kB / 437.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.2252, allocations: 219.3 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2254, allocations: 25.53 kB / 437.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.2256, allocations: 103.6 kB / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.2258, allocations: 151.5 kB / 437.6 MB, free: 348 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.2258, allocations: 4 kB / 437.6 MB, free: 344 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.226, allocations: 43.98 kB / 437.6 MB, free: 300 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2261, allocations: 51.83 kB / 437.7 MB, free: 248 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.2263, allocations: 79.3 kB / 437.8 MB, free: 168 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.2266, allocations: 203.5 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2266, allocations: 0 / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2266, allocations: 4 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2267, allocations: 0 / 438 MB, free: 15.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001148/0.2278, allocations: 0.5447 MB / 438.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.2279, allocations: 12.03 kB / 438.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/0.228, allocations: 24.66 kB / 438.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.2284, allocations: 280.1 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2284, allocations: 384 / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.2285, allocations: 16.03 kB / 438.8 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.2287, allocations: 95.36 kB / 438.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2288, allocations: 4 kB / 438.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.2288, allocations: 7.922 kB / 438.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2288, allocations: 4 kB / 438.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.229, allocations: 35.92 kB / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.2297, allocations: 449 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.23, allocations: 113.3 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.2301, allocations: 45.69 kB / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.2302, allocations: 0 / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.2306, allocations: 117 kB / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2306, allocations: 4 kB / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001121/0.2318, allocations: 368.5 kB / 440 MB, free: 13.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2319, allocations: 85.03 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.2325, allocations: 428.5 kB / 440.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2326, allocations: 33.69 kB / 440.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.2328, allocations: 156.3 kB / 440.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2329, allocations: 43.39 kB / 440.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.233, allocations: 33.72 kB / 440.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.2332, allocations: 342.8 kB / 441.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2333, allocations: 39.98 kB / 441.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2335, allocations: 71.41 kB / 441.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.2337, allocations: 119.4 kB / 441.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2337, allocations: 0 / 441.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000365/0.2341, allocations: 185.1 kB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.2341, allocations: 12.06 kB / 441.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2341, allocations: 4.062 kB / 441.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2342, allocations: 0 / 441.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2344, allocations: 31.98 kB / 441.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2344, allocations: 3.938 kB / 441.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2346, allocations: 11.98 kB / 441.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2346, allocations: 8 kB / 441.6 MB, free: 12.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002755/0.2349, allocations: 165.7 kB / 441.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.235, allocations: 35.62 kB / 441.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.357e-05/0.2351, allocations: 34.94 kB / 441.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2351, allocations: 4 kB / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2351, allocations: 3.938 kB / 441.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2351, allocations: 3.984 kB / 441.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.2361, allocations: 0.6241 MB / 442.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2361, allocations: 8.062 kB / 442.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.2362, allocations: 15.98 kB / 442.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.2362, allocations: 4 kB / 442.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2362, allocations: 8 kB / 442.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2362, allocations: 7.875 kB / 442.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2362, allocations: 0 / 442.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.2367, allocations: 371.7 kB / 442.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.2368, allocations: 104.7 kB / 443 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.2369, allocations: 4 kB / 443 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.237, allocations: 8 kB / 443 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.2371, allocations: 11.98 kB / 443 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.2371, allocations: 15.92 kB / 443 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003259/0.2375, allocations: 319 kB / 443.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2375, allocations: 4 kB / 443.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000347/0.2378, allocations: 39.98 kB / 443.4 MB, free: 10.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001221/0.239, allocations: 465.8 kB / 443.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.2394, allocations: 115.9 kB / 444 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2394, allocations: 0 / 444 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.2396, allocations: 67.83 kB / 444 MB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.2402, allocations: 64.8 kB / 444.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.2417, allocations: 0.5394 MB / 444.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.2426, allocations: 0.7635 MB / 445.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2427, allocations: 26.56 kB / 445.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.2428, allocations: 31.42 kB / 445.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2428, allocations: 0 / 445.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of Templates: time 0.008764/0.2516, allocations: 2.601 MB / 448 MB, free: 5.441 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)