Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002064/0.002063, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.646/1.646, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3497/0.3497, allocations: 39.92 MB / 309.4 MB, free: 9.004 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.001525/0.001525, allocations: 67.91 kB / 377.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 56.88 MB / 434 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003676/0.141, allocations: 1.899 MB / 435.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1425, allocations: 0.8781 MB / 436.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.1426, allocations: 0 / 436.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.1431, allocations: 259.4 kB / 437 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1434, allocations: 163.6 kB / 437.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1437, allocations: 135.7 kB / 437.3 MB, free: 396 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.144, allocations: 243.3 kB / 437.6 MB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1441, allocations: 33.52 kB / 437.6 MB, free: 116 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1443, allocations: 119.6 kB / 437.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1445, allocations: 183.4 kB / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1445, allocations: 11.98 kB / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1446, allocations: 47.94 kB / 437.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.1447, allocations: 63.75 kB / 438 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.1448, allocations: 87.36 kB / 438.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1451, allocations: 219.4 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1451, allocations: 0 / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1451, allocations: 0 / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1451, allocations: 4 kB / 438.3 MB, free: 15.39 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008823/0.146, allocations: 0.5637 MB / 438.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1461, allocations: 19.77 kB / 438.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.1461, allocations: 28.56 kB / 438.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1464, allocations: 284 kB / 439.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1465, allocations: 8.375 kB / 439.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.1465, allocations: 8.125 kB / 439.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1467, allocations: 99.3 kB / 439.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1467, allocations: 3.984 kB / 439.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1468, allocations: 4 kB / 439.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.1468, allocations: 4 kB / 439.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1469, allocations: 35.97 kB / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.1475, allocations: 464.8 kB / 439.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1478, allocations: 113.3 kB / 439.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.1479, allocations: 41.7 kB / 440 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1479, allocations: 4 kB / 440 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.1482, allocations: 109.1 kB / 440.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.477e-06/0.1482, allocations: 4 kB / 440.1 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008493/0.149, allocations: 379.7 kB / 440.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.1491, allocations: 81.05 kB / 440.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.1497, allocations: 485.6 kB / 441 MB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1497, allocations: 33.7 kB / 441 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.1498, allocations: 156.4 kB / 441.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.1499, allocations: 47.34 kB / 441.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1499, allocations: 41.7 kB / 441.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1501, allocations: 342.8 kB / 441.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.1502, allocations: 43.91 kB / 441.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1503, allocations: 67.42 kB / 441.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1505, allocations: 127.3 kB / 441.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1505, allocations: 0 / 441.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003081/0.1508, allocations: 185.2 kB / 442 MB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1508, allocations: 8 kB / 442 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1509, allocations: 0 / 442 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1509, allocations: 0 / 442 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1511, allocations: 35.92 kB / 442.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1511, allocations: 3.938 kB / 442.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.1512, allocations: 15.97 kB / 442.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1512, allocations: 8 kB / 442.1 MB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001524/0.1513, allocations: 173.7 kB / 442.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1514, allocations: 31.62 kB / 442.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.1515, allocations: 34.81 kB / 442.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1515, allocations: 7.938 kB / 442.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1515, allocations: 3.938 kB / 442.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1515, allocations: 0 / 442.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.1522, allocations: 0.6369 MB / 443 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1522, allocations: 0 / 443 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.1523, allocations: 23.92 kB / 443 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1523, allocations: 0 / 443 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1523, allocations: 8 kB / 443 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1523, allocations: 4 kB / 443 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1523, allocations: 4.062 kB / 443 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.1528, allocations: 372 kB / 443.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1529, allocations: 104.7 kB / 443.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1529, allocations: 4 kB / 443.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.153, allocations: 15.94 kB / 443.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.1531, allocations: 11.98 kB / 443.5 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.1531, allocations: 11.98 kB / 443.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004288/0.1536, allocations: 355.1 kB / 443.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 443.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.1539, allocations: 43.98 kB / 443.9 MB, free: 9.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001039/0.155, allocations: 473.2 kB / 444.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.1554, allocations: 119.9 kB / 444.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1554, allocations: 0 / 444.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1555, allocations: 60.16 kB / 444.6 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.1561, allocations: 73.12 kB / 444.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.157, allocations: 0.5925 MB / 445.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.1576, allocations: 0.771 MB / 446 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.188e-05/0.1577, allocations: 34.53 kB / 446 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.1577, allocations: 31.38 kB / 446.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1577, allocations: 0 / 446.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of Templates: time 0.006183/0.1639, allocations: 2.702 MB / 448.8 MB, free: 4.512 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)