Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001067/0.001068, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3672/0.3672, allocations: 38.03 MB / 308.4 MB, free: 10.5 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.0008867/0.0008871, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1595, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002911/0.1625, allocations: 1.358 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.164, allocations: 0.742 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1641, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.1646, allocations: 31.89 kB / 436.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1648, allocations: 47.77 kB / 436.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1652, allocations: 71.84 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1654, allocations: 63.84 kB / 436.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1656, allocations: 16.22 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1657, allocations: 35.84 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.1658, allocations: 23.86 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.1658, allocations: 4 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1659, allocations: 31.92 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.166, allocations: 11.97 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.1661, allocations: 45.58 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1662, allocations: 84.05 kB / 436.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1663, allocations: 0 / 436.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1663, allocations: 4 kB / 436.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1663, allocations: 0 / 436.5 MB, free: 2.988 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.0006933/0.167, allocations: 398.9 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.167, allocations: 8.031 kB / 436.9 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.1671, allocations: 23.75 kB / 436.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1674, allocations: 190.9 kB / 437.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1675, allocations: 8 kB / 437.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1675, allocations: 0 / 437.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1677, allocations: 57.67 kB / 437.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1677, allocations: 7.922 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1677, allocations: 4 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1677, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.585e-05/0.1678, allocations: 23.88 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.1684, allocations: 281 kB / 437.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1686, allocations: 54.69 kB / 437.5 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.1687, allocations: 7.984 kB / 437.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.169, allocations: 67.45 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.169, allocations: 0 / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007904/0.1698, allocations: 185.1 kB / 437.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1699, allocations: 51.41 kB / 437.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1701, allocations: 186.2 kB / 438 MB, free: 1.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1702, allocations: 29.7 kB / 438 MB, free: 1.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.1703, allocations: 104.1 kB / 438.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.1703, allocations: 19.72 kB / 438.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.1703, allocations: 4 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.1706, allocations: 322.8 kB / 438.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.1707, allocations: 19.98 kB / 438.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.1707, allocations: 37.7 kB / 438.5 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.1708, allocations: 24 kB / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1708, allocations: 0 / 438.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002285/0.1711, allocations: 101.4 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1711, allocations: 4 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1711, allocations: 7.953 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1712, allocations: 0 / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1713, allocations: 16.19 kB / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.1713, allocations: 3.984 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.1714, allocations: 11.97 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1714, allocations: 7.938 kB / 438.7 MB, free: 0.543 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 ($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.0001319/0.1715, allocations: 122.9 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1716, allocations: 11.89 kB / 438.8 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.287e-05/0.1716, allocations: 16.72 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1716, allocations: 3.953 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1717, allocations: 0 / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1717, allocations: 0 / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.1722, allocations: 387.3 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1722, allocations: 7.938 kB / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.1722, allocations: 19.94 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1723, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1723, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1723, allocations: 4 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1723, allocations: 0 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1726, allocations: 225.8 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1726, allocations: 85 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1726, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.1727, allocations: 8 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1728, allocations: 3.984 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1728, allocations: 4 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1729, allocations: 148 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.173, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1732, allocations: 28 kB / 439.8 MB, free: 15.37 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.1744, allocations: 469.3 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1746, allocations: 59.89 kB / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.1746, allocations: 7.938 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.1747, allocations: 27.94 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.1749, allocations: 27.92 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.1754, allocations: 230.5 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1759, allocations: 0.7043 MB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.444e-05/0.176, allocations: 20.88 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.176, allocations: 19.44 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.176, allocations: 0 / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.004549/0.1806, allocations: 1.587 MB / 442.9 MB, free: 12.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: