Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01033/0.01033, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001642/0.001643, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1862/0.1862, allocations: 38.01 MB / 307.9 MB, free: 5.984 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.1. 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.00219/0.00219, allocations: 72.38 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1436, allocations: 56.46 MB / 489.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00333/0.147, allocations: 1.68 MB / 491.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1492, allocations: 1.415 MB / 492.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.1493, allocations: 3.938 kB / 492.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.1496, allocations: 31.83 kB / 492.6 MB, free: 2.664 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1499, allocations: 63.69 kB / 492.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1501, allocations: 83.77 kB / 492.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1503, allocations: 99.69 kB / 492.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.1504, allocations: 16.22 kB / 492.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1506, allocations: 47.77 kB / 492.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1507, allocations: 31.8 kB / 493 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1507, allocations: 4 kB / 493 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1509, allocations: 63.95 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.1509, allocations: 15.92 kB / 493.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.151, allocations: 27.81 kB / 493.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1512, allocations: 119.7 kB / 493.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1512, allocations: 0 / 493.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1512, allocations: 0 / 493.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1512, allocations: 4 kB / 493.2 MB, free: 2.098 MB / 366.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.0005731/0.1518, allocations: 411 kB / 493.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1518, allocations: 15.89 kB / 493.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1519, allocations: 8.844 kB / 493.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1522, allocations: 203.8 kB / 493.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1522, allocations: 8.375 kB / 493.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1522, allocations: 4.125 kB / 493.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1524, allocations: 75.31 kB / 493.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1524, allocations: 0 / 493.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1525, allocations: 4 kB / 493.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1525, allocations: 0 / 493.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.1526, allocations: 23.92 kB / 493.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.153, allocations: 284.8 kB / 494.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1532, allocations: 54.67 kB / 494.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.1533, allocations: 24.84 kB / 494.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1533, allocations: 0 / 494.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.1535, allocations: 71.33 kB / 494.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1535, allocations: 0 / 494.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.1541, allocations: 173.3 kB / 494.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.1541, allocations: 81.11 kB / 494.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1543, allocations: 153.6 kB / 494.8 MB, free: 340 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1543, allocations: 29.7 kB / 494.8 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1544, allocations: 100.1 kB / 494.9 MB, free: 200 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1544, allocations: 27.64 kB / 494.9 MB, free: 172 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.1545, allocations: 21.72 kB / 494.9 MB, free: 144 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1547, allocations: 326.8 kB / 495.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1547, allocations: 23.98 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.1548, allocations: 38.56 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.155, allocations: 61.72 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.155, allocations: 0 / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.1551, allocations: 105.5 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1552, allocations: 8 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1552, allocations: 384 / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1552, allocations: 0 / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.1553, allocations: 15.98 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1553, allocations: 4 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.1554, allocations: 7.938 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1554, allocations: 4 kB / 495.5 MB, free: 15.53 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.0001105/0.1555, allocations: 129.8 kB / 495.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1555, allocations: 11.91 kB / 495.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.1556, allocations: 12.7 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1556, allocations: 4 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1556, allocations: 0 / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1556, allocations: 4.125 kB / 495.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.1561, allocations: 387.3 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1561, allocations: 3.938 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1561, allocations: 19.95 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1561, allocations: 0 / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1562, allocations: 3.938 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1562, allocations: 4 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1562, allocations: 0 / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1564, allocations: 200.3 kB / 496.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.1565, allocations: 81.02 kB / 496.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1565, allocations: 15.92 kB / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1566, allocations: 0 / 496.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1566, allocations: 15.88 kB / 496.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1566, allocations: 7.984 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1568, allocations: 111.3 kB / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1568, allocations: 0 / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.157, allocations: 39.89 kB / 496.6 MB, free: 14.39 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.001177/0.1582, allocations: 498 kB / 497 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1585, allocations: 63.91 kB / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1585, allocations: 0 / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.1586, allocations: 31.98 kB / 497.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.159, allocations: 31.28 kB / 497.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.1595, allocations: 202.7 kB / 497.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1598, allocations: 0.6964 MB / 498.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.1599, allocations: 16.88 kB / 498.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.1599, allocations: 19.42 kB / 498.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1599, allocations: 0 / 498.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of Templates: time 0.005092/0.165, allocations: 1.96 MB / 0.4883 GB, free: 10.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)