Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001157, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00122/0.00122, allocations: 190.4 kB / 16.25 MB, free: 6.145 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.672/1.672, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.341/0.341, allocations: 37.97 MB / 307.4 MB, free: 10.11 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.001744/0.001744, allocations: 66.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.135, allocations: 56.46 MB / 431.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004819/0.1399, allocations: 1.736 MB / 432.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1419, allocations: 0.7883 MB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1421, allocations: 3.938 kB / 433.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.1426, allocations: 43.88 kB / 433.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1429, allocations: 47.84 kB / 433.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.1434, allocations: 75.83 kB / 433.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1437, allocations: 95.7 kB / 434 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1438, allocations: 8.219 kB / 434 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.144, allocations: 47.77 kB / 434 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1441, allocations: 31.8 kB / 434.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1442, allocations: 4 kB / 434.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1443, allocations: 43.98 kB / 434.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.1444, allocations: 27.91 kB / 434.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.1445, allocations: 27.81 kB / 434.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1448, allocations: 111.9 kB / 434.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1448, allocations: 4 kB / 434.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1448, allocations: 3.938 kB / 434.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1449, allocations: 3.938 kB / 434.3 MB, free: 3.836 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.0008445/0.1457, allocations: 407 kB / 434.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1458, allocations: 11.89 kB / 434.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.1458, allocations: 12.75 kB / 434.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1462, allocations: 212.1 kB / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1462, allocations: 384 / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.1463, allocations: 8.125 kB / 434.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.1466, allocations: 53.67 kB / 435 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1466, allocations: 0 / 435 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1466, allocations: 3.984 kB / 435 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1466, allocations: 4 kB / 435 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1467, allocations: 19.92 kB / 435 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.1473, allocations: 292.9 kB / 435.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1476, allocations: 54.67 kB / 435.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.1476, allocations: 20.86 kB / 435.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1477, allocations: 0 / 435.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.148, allocations: 79.31 kB / 435.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.148, allocations: 0 / 435.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006735/0.1487, allocations: 169.2 kB / 435.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1487, allocations: 59.41 kB / 435.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.149, allocations: 178.2 kB / 435.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.149, allocations: 33.64 kB / 435.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.1491, allocations: 108.1 kB / 436 MB, free: 1.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1492, allocations: 19.72 kB / 436 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.1492, allocations: 25.7 kB / 436 MB, free: 1.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1494, allocations: 326.8 kB / 436.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.1495, allocations: 20 kB / 436.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-05/0.1496, allocations: 33.7 kB / 436.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1498, allocations: 69.62 kB / 436.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1498, allocations: 0 / 436.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003892/0.1502, allocations: 101.5 kB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.1502, allocations: 4 kB / 436.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1502, allocations: 7.938 kB / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1503, allocations: 0 / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1504, allocations: 12 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1504, allocations: 192 / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.1505, allocations: 15.92 kB / 436.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1505, allocations: 7.938 kB / 436.6 MB, free: 1.277 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.00014/0.1507, allocations: 121.9 kB / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1507, allocations: 7.906 kB / 436.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.1508, allocations: 20.7 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.1508, allocations: 4 kB / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1508, allocations: 0 / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1508, allocations: 3.938 kB / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.1514, allocations: 383.3 kB / 437.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1514, allocations: 4.031 kB / 437.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.1515, allocations: 15.94 kB / 437.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1515, allocations: 3.984 kB / 437.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1515, allocations: 7.938 kB / 437.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1515, allocations: 0 / 437.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1515, allocations: 4 kB / 437.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1519, allocations: 196.4 kB / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.152, allocations: 85.02 kB / 437.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.152, allocations: 12.31 kB / 437.5 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1521, allocations: 3.984 kB / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1522, allocations: 4 kB / 437.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1522, allocations: 8 kB / 437.5 MB, free: 312 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1524, allocations: 152 kB / 437.6 MB, free: 160 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1524, allocations: 3.938 kB / 437.6 MB, free: 156 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.1528, allocations: 20 kB / 437.7 MB, free: 136 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.001358/0.1542, allocations: 473.6 kB / 438.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1544, allocations: 63.83 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1544, allocations: 0 / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.1545, allocations: 35.97 kB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1551, allocations: 39.72 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.1558, allocations: 247.2 kB / 438.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.1563, allocations: 0.7002 MB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.1564, allocations: 21.16 kB / 439.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1564, allocations: 19.44 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1564, allocations: 0 / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of Templates: time 0.005702/0.1621, allocations: 1.667 MB / 440.9 MB, free: 12.85 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)