Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008097/0.008098, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.708/1.708, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3824/0.3824, allocations: 40 MB / 310.7 MB, free: 9.547 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.0006299/0.00063, allocations: 15.98 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 57.96 MB / 437.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002029/0.1388, allocations: 1.405 MB / 438.8 MB, free: 484 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1403, allocations: 0.7768 MB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1405, allocations: 0 / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.1409, allocations: 103.7 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.1412, allocations: 79.77 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1415, allocations: 75.8 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.1418, allocations: 119.7 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1419, allocations: 8.219 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.142, allocations: 51.77 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1422, allocations: 63.8 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1422, allocations: 4 kB / 440.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1423, allocations: 43.92 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.1424, allocations: 27.92 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.1425, allocations: 69.31 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1427, allocations: 135.8 kB / 440.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1427, allocations: 0 / 440.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1427, allocations: 0 / 440.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1427, allocations: 0 / 440.4 MB, free: 14.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006232/0.1434, allocations: 418.8 kB / 440.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1434, allocations: 12.03 kB / 440.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.1435, allocations: 12.75 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1437, allocations: 239.6 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1438, allocations: 4.375 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1438, allocations: 4.125 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.144, allocations: 57.67 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.144, allocations: 0 / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.144, allocations: 0 / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.144, allocations: 0 / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.1441, allocations: 31.97 kB / 441.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1445, allocations: 312.8 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1447, allocations: 66.67 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.1448, allocations: 32.83 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1448, allocations: 0 / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.145, allocations: 75.33 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.145, allocations: 0 / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005616/0.1456, allocations: 217 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1456, allocations: 51.41 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1459, allocations: 246.5 kB / 442.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1459, allocations: 29.7 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.146, allocations: 116.1 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.146, allocations: 27.64 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.146, allocations: 13.72 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1462, allocations: 334.8 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.1462, allocations: 23.98 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.1463, allocations: 37.7 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1465, allocations: 77.67 kB / 442.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1465, allocations: 0 / 442.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002163/0.1467, allocations: 121.4 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1467, allocations: 8 kB / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1467, allocations: 0 / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1468, allocations: 0 / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1469, allocations: 19.98 kB / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1469, allocations: 0 / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1469, allocations: 7.938 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1469, allocations: 3.938 kB / 442.9 MB, free: 12.12 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 ($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 (11): * Single equations (assignments): 11 * 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.0001356/0.1471, allocations: 133.9 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1471, allocations: 19.81 kB / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.1472, allocations: 25.39 kB / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1472, allocations: 0 / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/0.1472, allocations: 0 / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1472, allocations: 3.938 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.1478, allocations: 411.3 kB / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.1478, allocations: 7.984 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.1478, allocations: 16.03 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1478, allocations: 0 / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1479, allocations: 7.938 kB / 443.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1479, allocations: 0 / 443.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1479, allocations: 3.938 kB / 443.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1482, allocations: 220.7 kB / 443.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.1482, allocations: 92.92 kB / 443.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.1483, allocations: 11.94 kB / 443.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1484, allocations: 3.984 kB / 443.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.1484, allocations: 8.188 kB / 443.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1485, allocations: 7.938 kB / 443.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1486, allocations: 192.2 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1486, allocations: 0 / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1489, allocations: 27.98 kB / 444.1 MB, free: 10.85 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 (9): * Single equations (assignments): 7 * 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.0009945/0.1499, allocations: 468.8 kB / 444.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1501, allocations: 63.91 kB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1501, allocations: 0 / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.1502, allocations: 39.98 kB / 444.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1505, allocations: 31.98 kB / 444.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1511, allocations: 322.8 kB / 445 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1514, allocations: 0.7121 MB / 445.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.794e-05/0.1515, allocations: 20.78 kB / 445.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.1515, allocations: 19.44 kB / 445.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1515, allocations: 0 / 445.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of Templates: time 0.004421/0.156, allocations: 1.72 MB / 447.5 MB, free: 7.441 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) Environment - environmentSimulation: