Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002014/0.002014, allocations: 194.7 kB / 16.14 MB, free: 6.664 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.579/1.579, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3464/0.3464, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.001425/0.001425, allocations: 68.56 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1397, allocations: 56.46 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003332/0.1431, allocations: 1.736 MB / 432.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1444, allocations: 0.8077 MB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.1445, allocations: 0 / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1449, allocations: 75.81 kB / 433.6 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1451, allocations: 75.78 kB / 433.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1453, allocations: 71.86 kB / 433.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1455, allocations: 107.7 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.1456, allocations: 8.219 kB / 433.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1457, allocations: 59.7 kB / 434 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1458, allocations: 51.83 kB / 434 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1459, allocations: 8 kB / 434 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.146, allocations: 39.97 kB / 434 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.146, allocations: 23.91 kB / 434.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.1461, allocations: 35.75 kB / 434.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1463, allocations: 119.8 kB / 434.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1463, allocations: 0 / 434.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1463, allocations: 0 / 434.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1464, allocations: 0 / 434.2 MB, free: 3.832 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.0006218/0.147, allocations: 419 kB / 434.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.147, allocations: 16.03 kB / 434.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1471, allocations: 12.75 kB / 434.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1473, allocations: 216.1 kB / 434.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1474, allocations: 384 / 434.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1474, allocations: 8.125 kB / 434.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1476, allocations: 57.61 kB / 434.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1476, allocations: 0 / 434.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1476, allocations: 0 / 434.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1476, allocations: 7.938 kB / 434.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.1477, allocations: 15.98 kB / 435 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1481, allocations: 304.7 kB / 435.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1483, allocations: 58.62 kB / 435.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1483, allocations: 20.84 kB / 435.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1484, allocations: 0 / 435.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1486, allocations: 75.39 kB / 435.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1486, allocations: 0 / 435.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.1492, allocations: 173.2 kB / 435.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1492, allocations: 55.41 kB / 435.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1495, allocations: 218.7 kB / 435.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1495, allocations: 25.7 kB / 435.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.1496, allocations: 116 kB / 436 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1496, allocations: 23.59 kB / 436 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1496, allocations: 29.7 kB / 436 MB, free: 1.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1498, allocations: 330.8 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1498, allocations: 23.98 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.1499, allocations: 33.66 kB / 436.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.15, allocations: 65.7 kB / 436.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.15, allocations: 0 / 436.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.1502, allocations: 105.5 kB / 436.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1503, allocations: 8 kB / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1503, allocations: 0 / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1503, allocations: 0 / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.1504, allocations: 12 kB / 436.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1504, allocations: 4 kB / 436.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.1505, allocations: 7.922 kB / 436.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1505, allocations: 12.03 kB / 436.6 MB, free: 1.191 MB / 366.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.0001035/0.1506, allocations: 129.8 kB / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1506, allocations: 11.81 kB / 436.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.1507, allocations: 21.41 kB / 436.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1507, allocations: 0 / 436.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1507, allocations: 0 / 436.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1507, allocations: 3.938 kB / 436.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.1512, allocations: 399.3 kB / 437.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1512, allocations: 0 / 437.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1512, allocations: 11.94 kB / 437.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1512, allocations: 0 / 437.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1512, allocations: 7.938 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1512, allocations: 384 / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1512, allocations: 0 / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1515, allocations: 220.4 kB / 437.4 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.1515, allocations: 85.02 kB / 437.5 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1516, allocations: 7.938 kB / 437.5 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.1517, allocations: 4 kB / 437.5 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1517, allocations: 11.98 kB / 437.5 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1517, allocations: 4 kB / 437.5 MB, free: 188 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1519, allocations: 168.3 kB / 437.7 MB, free: 20 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 437.7 MB, free: 20 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1521, allocations: 24.31 kB / 437.7 MB, free: 15.99 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.0009965/0.1531, allocations: 469 kB / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1533, allocations: 59.84 kB / 438.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1533, allocations: 8.062 kB / 438.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.1534, allocations: 24 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1538, allocations: 27.97 kB / 438.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.1543, allocations: 284.4 kB / 438.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1547, allocations: 0.7121 MB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.435e-05/0.1548, allocations: 17.19 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1548, allocations: 19.42 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1548, allocations: 4 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Templates: time 0.004668/0.1595, allocations: 1.658 MB / 441 MB, free: 12.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)