Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001599/0.001599, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4846/0.4846, allocations: 40.01 MB / 310.4 MB, free: 9.922 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.0006318/0.000632, allocations: 20 kB / 378.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1468, allocations: 57.96 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003337/0.1502, allocations: 1.378 MB / 438.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1523, allocations: 0.746 MB / 438.9 MB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.1525, allocations: 0 / 438.9 MB, free: 424 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.153, allocations: 55.8 kB / 439 MB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.1533, allocations: 55.81 kB / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1536, allocations: 71.83 kB / 439.1 MB, free: 240 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1539, allocations: 83.7 kB / 439.2 MB, free: 156 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.154, allocations: 16.2 kB / 439.2 MB, free: 140 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1542, allocations: 43.83 kB / 439.3 MB, free: 96 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.1543, allocations: 35.8 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1543, allocations: 0 / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1545, allocations: 35.98 kB / 439.3 MB, free: 24 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1546, allocations: 31.89 kB / 439.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.1547, allocations: 37.64 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.155, allocations: 100.1 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.1551, allocations: 0 / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.639e-06/0.1551, allocations: 0 / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1551, allocations: 7.938 kB / 439.5 MB, free: 15.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008391/0.1559, allocations: 422.7 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.156, allocations: 12.03 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.1561, allocations: 11.81 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.1566, allocations: 210.8 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.1566, allocations: 0 / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1567, allocations: 4 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1569, allocations: 53.67 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1569, allocations: 3.906 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1569, allocations: 0 / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1569, allocations: 7.953 kB / 440.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.509e-05/0.157, allocations: 19.98 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.1578, allocations: 292.9 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.158, allocations: 58.67 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.158, allocations: 20.84 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.1581, allocations: 4 kB / 440.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.1584, allocations: 75.28 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.1584, allocations: 0 / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000716/0.1591, allocations: 173.1 kB / 440.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.1592, allocations: 59.34 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1595, allocations: 254.5 kB / 441.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1596, allocations: 41.64 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1597, allocations: 112 kB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.1598, allocations: 23.73 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.1598, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.16, allocations: 334.8 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.1601, allocations: 12 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.1602, allocations: 37.7 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/0.1603, allocations: 31.97 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1603, allocations: 0 / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002989/0.1606, allocations: 109.5 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1607, allocations: 8 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1607, allocations: 0 / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1607, allocations: 0 / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.1608, allocations: 16.36 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1608, allocations: 4 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1609, allocations: 0 / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1609, allocations: 16.03 kB / 441.9 MB, free: 13.23 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.161, allocations: 141.4 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1611, allocations: 19.77 kB / 442 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.1612, allocations: 17.39 kB / 442.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1612, allocations: 4 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1612, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1612, allocations: 0 / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.1618, allocations: 411.2 kB / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1618, allocations: 0 / 442.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.1619, allocations: 8 kB / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1619, allocations: 0 / 442.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1619, allocations: 11.98 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1619, allocations: 0 / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1619, allocations: 0 / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1623, allocations: 204.2 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1623, allocations: 96.88 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1624, allocations: 4 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1624, allocations: 3.984 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1625, allocations: 8 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1625, allocations: 4 kB / 442.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1627, allocations: 207.9 kB / 443 MB, free: 12.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1627, allocations: 0 / 443 MB, free: 12.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.163, allocations: 20 kB / 443 MB, free: 11.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.1641, allocations: 469.4 kB / 443.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1643, allocations: 51.92 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1644, allocations: 4.062 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.1644, allocations: 31.92 kB / 443.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.1649, allocations: 28.3 kB / 443.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.1656, allocations: 314.8 kB / 443.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/0.1663, allocations: 0.7121 MB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.1664, allocations: 24.86 kB / 444.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.1665, allocations: 19.44 kB / 444.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1665, allocations: 0 / 444.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.006613/0.1731, allocations: 1.611 MB / 446.3 MB, free: 8.707 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: