Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 91.84 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.001259/0.001259, 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.912/1.912, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4476/0.4476, allocations: 39.99 MB / 310.4 MB, free: 9.629 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.000577/0.0005773, allocations: 16 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 57.96 MB / 436.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002575/0.1496, allocations: 1.386 MB / 438.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1509, allocations: 0.7498 MB / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1511, allocations: 0 / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1514, allocations: 35.91 kB / 439 MB, free: 76 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1516, allocations: 43.83 kB / 439 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.152, allocations: 67.94 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1522, allocations: 87.61 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1523, allocations: 16.2 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1524, allocations: 39.78 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.1525, allocations: 23.86 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1525, allocations: 4 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1527, allocations: 39.97 kB / 439.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.1527, allocations: 15.92 kB / 439.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.1528, allocations: 37.64 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.153, allocations: 88.09 kB / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.153, allocations: 0 / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.153, allocations: 0 / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.153, allocations: 0 / 439.4 MB, free: 15.61 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.0006075/0.1536, allocations: 402.8 kB / 439.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1536, allocations: 8.031 kB / 439.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.1537, allocations: 11.91 kB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.154, allocations: 202.8 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.154, allocations: 4 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.154, allocations: 4 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1542, allocations: 53.67 kB / 440.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1542, allocations: 0 / 440.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1542, allocations: 4 kB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.1543, allocations: 3.953 kB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.1543, allocations: 15.98 kB / 440.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.1548, allocations: 284.9 kB / 440.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1549, allocations: 58.67 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.155, allocations: 24.84 kB / 440.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.155, allocations: 3.984 kB / 440.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1552, allocations: 79.19 kB / 440.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1552, allocations: 0 / 440.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005473/0.1558, allocations: 165.4 kB / 440.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1558, allocations: 59.34 kB / 440.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.156, allocations: 182.2 kB / 441 MB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1561, allocations: 33.69 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.1562, allocations: 100.1 kB / 441.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1562, allocations: 23.7 kB / 441.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1562, allocations: 0 / 441.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1564, allocations: 322.8 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.1564, allocations: 27.94 kB / 441.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.1565, allocations: 33.7 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.1566, allocations: 28.05 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1566, allocations: 0 / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.1568, allocations: 105.5 kB / 441.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1568, allocations: 8 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1568, allocations: 3.938 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1568, allocations: 4.031 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.1569, allocations: 15.98 kB / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1569, allocations: 4 kB / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.157, allocations: 0 / 441.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.157, allocations: 4 kB / 441.7 MB, free: 13.15 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.0001003/0.1571, allocations: 129.8 kB / 441.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.1571, allocations: 15.86 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1572, allocations: 16.7 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1572, allocations: 4 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1572, allocations: 3.984 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1572, allocations: 0 / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1576, allocations: 395.2 kB / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1577, allocations: 0 / 442.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1577, allocations: 8 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1577, allocations: 0 / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1577, allocations: 4 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1577, allocations: 4.031 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1577, allocations: 0 / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.158, allocations: 208.2 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.158, allocations: 92.88 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1581, allocations: 4 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1582, allocations: 7.984 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1582, allocations: 8 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1582, allocations: 384 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1584, allocations: 152 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1584, allocations: 0 / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1586, allocations: 20 kB / 442.7 MB, free: 12 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.000988/0.1596, allocations: 477 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1598, allocations: 55.92 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1598, allocations: 0 / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.1599, allocations: 32.08 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1602, allocations: 28.12 kB / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.1607, allocations: 238.5 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.161, allocations: 0.7083 MB / 444.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.1611, allocations: 8.891 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.1611, allocations: 19.42 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1611, allocations: 0 / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Templates: time 0.004396/0.1655, allocations: 1.583 MB / 445.8 MB, free: 8.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: