Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, 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.001879/0.001879, allocations: 192.8 kB / 16.14 MB, free: 6.66 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.54/1.54, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3076/0.3076, allocations: 37.98 MB / 307.3 MB, free: 10.16 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.1. 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.00137/0.00137, allocations: 71.84 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003276/0.1497, allocations: 1.732 MB / 432.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1511, allocations: 0.8039 MB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.1512, allocations: 3.938 kB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1515, allocations: 35.89 kB / 433.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1517, allocations: 43.83 kB / 433.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.152, allocations: 83.78 kB / 433.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1522, allocations: 87.7 kB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1523, allocations: 16.22 kB / 433.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.1524, allocations: 43.77 kB / 433.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1525, allocations: 31.8 kB / 433.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1525, allocations: 4 kB / 433.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.1526, allocations: 35.98 kB / 433.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1527, allocations: 23.91 kB / 434 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.1527, allocations: 27.75 kB / 434 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1529, allocations: 115.9 kB / 434.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1529, allocations: 0 / 434.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1529, allocations: 4 kB / 434.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1529, allocations: 0 / 434.1 MB, free: 3.961 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.0005637/0.1535, allocations: 414.9 kB / 434.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1536, allocations: 12.03 kB / 434.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1536, allocations: 12.78 kB / 434.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1539, allocations: 212.8 kB / 434.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1539, allocations: 384 / 434.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1539, allocations: 8.125 kB / 434.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1541, allocations: 61.61 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1541, allocations: 0 / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1541, allocations: 3.984 kB / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1541, allocations: 3.984 kB / 434.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.1542, allocations: 23.92 kB / 434.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1546, allocations: 284.8 kB / 435.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1548, allocations: 58.69 kB / 435.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1549, allocations: 20.84 kB / 435.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1549, allocations: 4 kB / 435.2 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1551, allocations: 67.33 kB / 435.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1551, allocations: 0 / 435.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005663/0.1557, allocations: 181.1 kB / 435.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1557, allocations: 59.41 kB / 435.5 MB, free: 2.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.156, allocations: 191.3 kB / 435.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.156, allocations: 25.7 kB / 435.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.1561, allocations: 108.1 kB / 435.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1561, allocations: 19.7 kB / 435.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1561, allocations: 25.7 kB / 435.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1563, allocations: 330.8 kB / 436.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.1563, allocations: 16 kB / 436.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.1564, allocations: 37.7 kB / 436.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1565, allocations: 65.64 kB / 436.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1565, allocations: 0 / 436.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.1567, allocations: 97.52 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1567, allocations: 4 kB / 436.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1567, allocations: 4 kB / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1568, allocations: 4.031 kB / 436.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.1569, allocations: 16 kB / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1569, allocations: 0 / 436.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.1569, allocations: 15.83 kB / 436.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.157, allocations: 4 kB / 436.4 MB, free: 1.383 MB / 366.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.000103/0.1571, allocations: 125.8 kB / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1571, allocations: 12.09 kB / 436.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1571, allocations: 17.39 kB / 436.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1572, allocations: 3.938 kB / 436.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1572, allocations: 4 kB / 436.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1572, allocations: 7.875 kB / 436.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1576, allocations: 391.3 kB / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1576, allocations: 0 / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1577, allocations: 15.92 kB / 437 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1577, allocations: 4 kB / 437 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1577, allocations: 3.938 kB / 437 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1577, allocations: 32 / 437 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1577, allocations: 4 kB / 437 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.158, allocations: 200.4 kB / 437.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.158, allocations: 85.02 kB / 437.3 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1581, allocations: 11.92 kB / 437.3 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1581, allocations: 4 kB / 437.3 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1582, allocations: 12.38 kB / 437.3 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1582, allocations: 11.92 kB / 437.3 MB, free: 388 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1583, allocations: 152.9 kB / 437.5 MB, free: 236 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 0 / 437.5 MB, free: 236 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1586, allocations: 19.98 kB / 437.5 MB, free: 216 kB / 366.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.001068/0.1597, allocations: 473.3 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1599, allocations: 63.89 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.16, allocations: 0 / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.16, allocations: 24 kB / 438.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1604, allocations: 31.97 kB / 438.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1609, allocations: 260.9 kB / 438.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1613, allocations: 0.7043 MB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.1614, allocations: 21.16 kB / 439.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1614, allocations: 19.44 kB / 439.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1614, allocations: 0 / 439.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004444/0.1659, allocations: 1.644 MB / 440.7 MB, free: 12.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)