Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00102/0.00102, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009714/0.0009715, allocations: 172.7 kB / 15.95 MB, free: 208 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.869/1.869, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.4504/0.4504, allocations: 40 MB / 310.4 MB, free: 9.848 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.0005775/0.0005779, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1434, allocations: 57.97 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002151/0.1456, allocations: 1.382 MB / 438.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1469, allocations: 0.7383 MB / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.147, allocations: 0 / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1474, allocations: 39.83 kB / 439 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1476, allocations: 43.78 kB / 439 MB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1479, allocations: 75.84 kB / 439.1 MB, free: 284 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1481, allocations: 75.77 kB / 439.2 MB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1482, allocations: 20.19 kB / 439.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.1483, allocations: 39.73 kB / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.1484, allocations: 27.86 kB / 439.2 MB, free: 120 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1484, allocations: 0 / 439.2 MB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1485, allocations: 43.91 kB / 439.3 MB, free: 76 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1486, allocations: 19.92 kB / 439.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1486, allocations: 37.7 kB / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1489, allocations: 80.09 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1489, allocations: 0 / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1489, allocations: 0 / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1489, allocations: 0 / 439.4 MB, free: 15.93 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.0005733/0.1495, allocations: 414.7 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1495, allocations: 8.031 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1496, allocations: 7.906 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1499, allocations: 202.9 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1499, allocations: 4 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1499, allocations: 4 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1501, allocations: 53.67 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1501, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1501, allocations: 0 / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1501, allocations: 3.953 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.1502, allocations: 23.92 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.1507, allocations: 277 kB / 440.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1508, allocations: 58.69 kB / 440.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.1509, allocations: 20.84 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.1509, allocations: 0 / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.1511, allocations: 87.17 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1511, allocations: 4 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.1517, allocations: 165.3 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1518, allocations: 59.41 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.152, allocations: 182.1 kB / 441 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.152, allocations: 29.7 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.1521, allocations: 104.1 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1521, allocations: 19.72 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.1521, allocations: 4 kB / 441.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1522, allocations: 322.8 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1523, allocations: 23.98 kB / 441.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1524, allocations: 37.64 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.1524, allocations: 24.06 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1524, allocations: 4 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1526, allocations: 109.5 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1527, allocations: 4 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1527, allocations: 4.031 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1527, allocations: 4 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.1528, allocations: 15.94 kB / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1528, allocations: 3.938 kB / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.1529, allocations: 7.984 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1529, allocations: 0 / 441.7 MB, free: 13.46 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.0001142/0.153, allocations: 125.8 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1531, allocations: 11.86 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.1531, allocations: 20.7 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1531, allocations: 0 / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1531, allocations: 4 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1531, allocations: 0 / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.1536, allocations: 391.2 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1536, allocations: 0 / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1536, allocations: 11.98 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1537, allocations: 0 / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1537, allocations: 8.031 kB / 442.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1537, allocations: 0 / 442.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1537, allocations: 0 / 442.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.154, allocations: 204.2 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.154, allocations: 96.86 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.154, allocations: 4 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.1541, allocations: 4 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1542, allocations: 11.98 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1542, allocations: 4.375 kB / 442.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1543, allocations: 140.1 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1543, allocations: 0 / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1546, allocations: 27.98 kB / 442.7 MB, free: 12.31 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.001052/0.1557, allocations: 484.6 kB / 443.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1559, allocations: 55.95 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1559, allocations: 0 / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.1559, allocations: 31.94 kB / 443.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1563, allocations: 27.97 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.1568, allocations: 230.5 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1572, allocations: 0.7083 MB / 444.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.5e-05/0.1572, allocations: 12.88 kB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.1573, allocations: 15.44 kB / 444.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1573, allocations: 0 / 444.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004706/0.162, allocations: 1.587 MB / 445.8 MB, free: 9.148 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: