Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001319/0.001319, allocations: 168.7 kB / 15.95 MB, free: 204 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.899/1.899, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.4519/0.4519, allocations: 40 MB / 310.4 MB, free: 9.652 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.0005704/0.0005706, allocations: 20 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 57.97 MB / 436.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002543/0.1445, allocations: 1.382 MB / 438.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1461, allocations: 0.7383 MB / 438.9 MB, free: 116 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1463, allocations: 11.94 kB / 438.9 MB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1467, allocations: 35.89 kB / 439 MB, free: 68 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.147, allocations: 43.83 kB / 439 MB, free: 24 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.1475, allocations: 63.86 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1478, allocations: 87.67 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1479, allocations: 12.2 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1481, allocations: 39.8 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.1482, allocations: 27.84 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1482, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1483, allocations: 39.98 kB / 439.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.1484, allocations: 15.92 kB / 439.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.1485, allocations: 37.64 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1487, allocations: 84.09 kB / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1487, allocations: 0 / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1487, allocations: 0 / 439.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1487, allocations: 7.875 kB / 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.0007342/0.1495, allocations: 394.9 kB / 439.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1495, allocations: 12.03 kB / 439.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.1496, allocations: 15.81 kB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1499, allocations: 194.9 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1499, allocations: 0 / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.1499, allocations: 7.984 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.1501, allocations: 57.61 kB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1502, allocations: 0 / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1502, allocations: 0 / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1502, allocations: 3.953 kB / 440.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.1503, allocations: 27.98 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1508, allocations: 277 kB / 440.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.151, allocations: 58.62 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.151, allocations: 20.84 kB / 440.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1511, allocations: 4 kB / 440.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.1513, allocations: 71.34 kB / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1513, allocations: 0 / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006387/0.152, allocations: 173.2 kB / 440.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.152, allocations: 55.41 kB / 440.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1523, allocations: 166.2 kB / 440.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1523, allocations: 29.64 kB / 441 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/0.1524, allocations: 104.1 kB / 441.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1524, allocations: 23.66 kB / 441.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.1525, allocations: 4 kB / 441.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1526, allocations: 318.8 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.1527, allocations: 23.98 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.1528, allocations: 37.64 kB / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.686e-05/0.1528, allocations: 24.06 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1529, allocations: 4 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002078/0.1531, allocations: 109.5 kB / 441.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1531, allocations: 4 kB / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1531, allocations: 0 / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1531, allocations: 0 / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.1532, allocations: 23.92 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1533, allocations: 0 / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.1533, allocations: 4.188 kB / 441.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1533, allocations: 0 / 441.6 MB, free: 13.18 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.0001146/0.1535, allocations: 129.8 kB / 441.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1535, allocations: 23.75 kB / 441.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.1535, allocations: 12.72 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1536, allocations: 0 / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1536, allocations: 0 / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1536, allocations: 0 / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.154, allocations: 387.3 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.154, allocations: 4.031 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.1541, allocations: 15.92 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.1541, allocations: 4 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1541, allocations: 3.984 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1541, allocations: 0 / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1541, allocations: 384 / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1544, allocations: 200.3 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/0.1545, allocations: 100.9 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1545, allocations: 4 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.1546, allocations: 8 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1546, allocations: 7.984 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1546, allocations: 4 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1548, allocations: 139.9 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1548, allocations: 0 / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1551, allocations: 23.98 kB / 442.7 MB, free: 12.02 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.001187/0.1563, allocations: 465 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1564, allocations: 51.98 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1565, allocations: 64 / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.1565, allocations: 40.06 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1569, allocations: 27.92 kB / 443.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.1575, allocations: 237.9 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1579, allocations: 0.7005 MB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.913e-05/0.158, allocations: 12.88 kB / 444.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.1581, allocations: 19.38 kB / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1581, allocations: 0 / 444.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Templates: time 0.005087/0.1632, allocations: 1.584 MB / 445.8 MB, free: 8.867 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: