Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008727, allocations: 90.67 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.007225/0.007225, allocations: 170.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.587/1.587, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3612/0.3612, allocations: 39.99 MB / 310.7 MB, free: 9.973 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.0006192/0.0006193, allocations: 24 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1459, allocations: 57.96 MB / 437.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002253/0.1482, allocations: 1.416 MB / 438.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1496, allocations: 0.7691 MB / 439.6 MB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.1497, allocations: 0 / 439.6 MB, free: 16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.15, allocations: 87.67 kB / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1503, allocations: 63.8 kB / 439.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.1506, allocations: 75.78 kB / 439.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1508, allocations: 103.7 kB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1509, allocations: 12.22 kB / 439.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1511, allocations: 47.77 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1512, allocations: 55.81 kB / 440 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1512, allocations: 0 / 440 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1514, allocations: 39.98 kB / 440.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.1515, allocations: 27.86 kB / 440.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.1515, allocations: 57.45 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1518, allocations: 115.8 kB / 440.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1518, allocations: 0 / 440.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1518, allocations: 4 kB / 440.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1518, allocations: 0 / 440.3 MB, free: 15.32 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.0006479/0.1524, allocations: 403.1 kB / 440.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1525, allocations: 19.95 kB / 440.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1526, allocations: 12.75 kB / 440.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1528, allocations: 208.8 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1528, allocations: 384 / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1529, allocations: 16.11 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.153, allocations: 53.67 kB / 441 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1531, allocations: 0 / 441 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1531, allocations: 4 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1531, allocations: 4 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.1532, allocations: 15.98 kB / 441 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.1537, allocations: 284.9 kB / 441.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1538, allocations: 62.62 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.1539, allocations: 20.84 kB / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.154, allocations: 0 / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.1542, allocations: 71.39 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1542, allocations: 3.938 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.1547, allocations: 185 kB / 441.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1548, allocations: 55.41 kB / 441.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.155, allocations: 214.2 kB / 441.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.155, allocations: 33.7 kB / 441.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.1551, allocations: 96.14 kB / 442 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1551, allocations: 27.64 kB / 442 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.1551, allocations: 21.66 kB / 442.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1553, allocations: 326.8 kB / 442.4 MB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.1553, allocations: 19.98 kB / 442.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.1554, allocations: 41.7 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1555, allocations: 57.7 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1555, allocations: 0 / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.1557, allocations: 105.4 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1557, allocations: 4 kB / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1557, allocations: 0 / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1558, allocations: 7.984 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.1559, allocations: 20.02 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1559, allocations: 3.938 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.1559, allocations: 11.94 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1559, allocations: 0 / 442.6 MB, free: 12.72 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 9.88e-05/0.156, allocations: 126 kB / 442.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.1561, allocations: 11.91 kB / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.1561, allocations: 25.33 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1562, allocations: 0 / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1562, allocations: 4 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1562, allocations: 7.938 kB / 442.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1566, allocations: 387.2 kB / 443.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1566, allocations: 0 / 443.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1566, allocations: 12 kB / 443.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1567, allocations: 0 / 443.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1567, allocations: 7.922 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1567, allocations: 4 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1567, allocations: 4.031 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1569, allocations: 208.2 kB / 443.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.157, allocations: 88.92 kB / 443.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.157, allocations: 11.86 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1571, allocations: 4 kB / 443.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1571, allocations: 8 kB / 443.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1571, allocations: 12.36 kB / 443.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1573, allocations: 156.2 kB / 443.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1573, allocations: 0 / 443.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1575, allocations: 20 kB / 443.7 MB, free: 11.53 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.0009952/0.1585, allocations: 468.8 kB / 444.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.1587, allocations: 59.91 kB / 444.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1587, allocations: 0 / 444.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.1588, allocations: 31.92 kB / 444.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1592, allocations: 27.92 kB / 444.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.1597, allocations: 270.2 kB / 444.5 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.16, allocations: 0.7083 MB / 445.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1601, allocations: 12.88 kB / 445.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.1601, allocations: 15.44 kB / 445.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1601, allocations: 0 / 445.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Templates: time 0.004709/0.1648, allocations: 1.63 MB / 446.9 MB, free: 8.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: