Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01077/0.01076, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.715/1.715, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.4374/0.4374, allocations: 40 MB / 310.7 MB, free: 9.574 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.0005669/0.0005671, allocations: 12 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1291, allocations: 57.97 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002724/0.1319, allocations: 1.409 MB / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1339, allocations: 0.7729 MB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1342, allocations: 4 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.1348, allocations: 111.7 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.1352, allocations: 75.78 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1357, allocations: 71.84 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.136, allocations: 103.7 kB / 440 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.1362, allocations: 16.22 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1364, allocations: 51.75 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1365, allocations: 55.83 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1366, allocations: 3.984 kB / 440.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1368, allocations: 43.92 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.1369, allocations: 23.92 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.137, allocations: 57.39 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.1373, allocations: 127.8 kB / 440.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1373, allocations: 0 / 440.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1373, allocations: 0 / 440.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1373, allocations: 4 kB / 440.3 MB, free: 14.96 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.0008366/0.1382, allocations: 414.9 kB / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.1382, allocations: 8.031 kB / 440.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.1383, allocations: 16.83 kB / 440.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.1387, allocations: 212.7 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.1387, allocations: 4.375 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1388, allocations: 12.11 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1389, allocations: 57.67 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.139, allocations: 0 / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.139, allocations: 0 / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.139, allocations: 4 kB / 441.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.1391, allocations: 19.92 kB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1395, allocations: 292.7 kB / 441.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1397, allocations: 66.61 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.1398, allocations: 16.86 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1398, allocations: 7.984 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1401, allocations: 71.31 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1401, allocations: 0 / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006589/0.1407, allocations: 173.2 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1408, allocations: 59.34 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.1411, allocations: 242.1 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1411, allocations: 29.7 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.1412, allocations: 112.1 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.1412, allocations: 19.72 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1413, allocations: 17.7 kB / 442.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1414, allocations: 330.8 kB / 442.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.1415, allocations: 16 kB / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.1416, allocations: 41.7 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1417, allocations: 61.64 kB / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1417, allocations: 0 / 442.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002189/0.142, allocations: 105.8 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.142, allocations: 4 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.142, allocations: 0 / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.142, allocations: 0 / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1422, allocations: 27.97 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1422, allocations: 0 / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.1423, allocations: 15.92 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1423, allocations: 0 / 442.7 MB, free: 12.32 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 (10): * Single equations (assignments): 10 * 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.0001747/0.1425, allocations: 133.8 kB / 442.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1425, allocations: 11.89 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.1426, allocations: 17.56 kB / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1426, allocations: 0 / 442.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.1426, allocations: 8 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1426, allocations: 3.938 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.1433, allocations: 403.2 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1433, allocations: 0 / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.1433, allocations: 8 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1434, allocations: 4.188 kB / 443.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1434, allocations: 7.938 kB / 443.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1434, allocations: 11.86 kB / 443.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1434, allocations: 7.969 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1437, allocations: 200.3 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.1438, allocations: 92.92 kB / 443.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1438, allocations: 3.938 kB / 443.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.1439, allocations: 7.984 kB / 443.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.144, allocations: 4 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.144, allocations: 12 kB / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1442, allocations: 180.3 kB / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1442, allocations: 0 / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1445, allocations: 27.98 kB / 443.9 MB, free: 11.09 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 (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.001045/0.1455, allocations: 468.6 kB / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1457, allocations: 47.98 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1457, allocations: 0 / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.1458, allocations: 35.92 kB / 444.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1462, allocations: 31.91 kB / 444.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.1467, allocations: 294.6 kB / 444.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1471, allocations: 0.72 MB / 445.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.804e-05/0.1472, allocations: 17.19 kB / 445.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.1472, allocations: 19.42 kB / 445.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1472, allocations: 0 / 445.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of Templates: time 0.004872/0.1521, allocations: 1.641 MB / 447.1 MB, free: 7.801 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) Environment - environmentSimulation: