Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001796/0.001796, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.646/1.646, allocations: 205.1 MB / 222 MB, free: 5.004 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.3263/0.3263, allocations: 37.98 MB / 307.3 MB, free: 9.793 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.001455/0.001455, allocations: 64.33 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1418, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003079/0.1449, allocations: 1.732 MB / 432.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1461, allocations: 0.7961 MB / 433.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.1462, allocations: 3.938 kB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1465, allocations: 27.91 kB / 433.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1467, allocations: 47.83 kB / 433.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.147, allocations: 79.84 kB / 433.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.1471, allocations: 91.69 kB / 433.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1473, allocations: 20.2 kB / 433.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.1473, allocations: 39.73 kB / 433.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.1474, allocations: 23.86 kB / 433.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1474, allocations: 4 kB / 433.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.1475, allocations: 39.97 kB / 433.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1476, allocations: 15.92 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1476, allocations: 39.73 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1478, allocations: 111.9 kB / 434.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.1479, allocations: 3.984 kB / 434.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1479, allocations: 3.938 kB / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1479, allocations: 0 / 434.1 MB, free: 3.977 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.00053/0.1484, allocations: 403.1 kB / 434.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1485, allocations: 8.031 kB / 434.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1485, allocations: 12.75 kB / 434.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1487, allocations: 208.1 kB / 434.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1487, allocations: 8.375 kB / 434.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1488, allocations: 8.125 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1489, allocations: 53.67 kB / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1489, allocations: 0 / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.149, allocations: 3.938 kB / 434.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.149, allocations: 7.984 kB / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.149, allocations: 15.98 kB / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.1494, allocations: 288.9 kB / 435.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1496, allocations: 54.67 kB / 435.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1496, allocations: 32.72 kB / 435.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1497, allocations: 0 / 435.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.1499, allocations: 67.39 kB / 435.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1499, allocations: 0 / 435.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00055/0.1505, allocations: 173.4 kB / 435.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1505, allocations: 55.41 kB / 435.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1507, allocations: 178.2 kB / 435.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1507, allocations: 25.7 kB / 435.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.1508, allocations: 116 kB / 435.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1508, allocations: 19.7 kB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1509, allocations: 25.72 kB / 435.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.151, allocations: 326.8 kB / 436.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.151, allocations: 23.98 kB / 436.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1511, allocations: 37.64 kB / 436.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1513, allocations: 61.72 kB / 436.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1513, allocations: 0 / 436.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.1515, allocations: 109.4 kB / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1515, allocations: 4 kB / 436.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1515, allocations: 4 kB / 436.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1515, allocations: 0 / 436.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.1516, allocations: 15.98 kB / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1516, allocations: 0 / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1517, allocations: 7.938 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1517, allocations: 4 kB / 436.4 MB, free: 1.43 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.0001281/0.1518, allocations: 129.9 kB / 436.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1518, allocations: 7.906 kB / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1519, allocations: 12.72 kB / 436.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1519, allocations: 7.938 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1519, allocations: 0 / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1519, allocations: 3.938 kB / 436.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1525, allocations: 387.4 kB / 436.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1525, allocations: 7.938 kB / 437 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1525, allocations: 12.03 kB / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1525, allocations: 0 / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1525, allocations: 3.938 kB / 437 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1526, allocations: 0 / 437 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1526, allocations: 7.938 kB / 437 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1528, allocations: 204.2 kB / 437.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1529, allocations: 85 kB / 437.3 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.153, allocations: 11.94 kB / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.153, allocations: 8 kB / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1531, allocations: 11.92 kB / 437.3 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1531, allocations: 4 kB / 437.3 MB, free: 448 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1532, allocations: 140.1 kB / 437.4 MB, free: 308 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1532, allocations: 0 / 437.4 MB, free: 308 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1535, allocations: 23.98 kB / 437.5 MB, free: 284 kB / 366.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.001021/0.1545, allocations: 473.5 kB / 437.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1547, allocations: 63.89 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1547, allocations: 0 / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.1548, allocations: 24 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1552, allocations: 32.03 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.1556, allocations: 241.2 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1559, allocations: 0.7083 MB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.156, allocations: 16.86 kB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.156, allocations: 15.44 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1561, allocations: 0 / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.00456/0.1606, allocations: 1.64 MB / 440.6 MB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)