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.001533/0.001533, 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.00214/0.00214, allocations: 191.2 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.659/1.659, allocations: 205.1 MB / 222 MB, free: 4.758 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.3312/0.3312, allocations: 37.97 MB / 307.3 MB, free: 10.09 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.001418/0.001418, allocations: 59.92 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1375, allocations: 56.48 MB / 431 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004291/0.1419, allocations: 1.732 MB / 432.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1439, allocations: 0.7922 MB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1441, allocations: 0 / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.1447, allocations: 43.88 kB / 433.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1449, allocations: 47.78 kB / 433.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1453, allocations: 75.83 kB / 433.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1456, allocations: 91.7 kB / 433.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1457, allocations: 12.22 kB / 433.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1458, allocations: 35.73 kB / 433.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.146, allocations: 39.83 kB / 433.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.146, allocations: 4 kB / 433.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1461, allocations: 35.98 kB / 433.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.1462, allocations: 19.92 kB / 434 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.1463, allocations: 35.73 kB / 434 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1466, allocations: 115.8 kB / 434.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1466, allocations: 0 / 434.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1467, allocations: 0 / 434.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1467, allocations: 4 kB / 434.1 MB, free: 3.945 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.0006809/0.1474, allocations: 407.1 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1474, allocations: 8.031 kB / 434.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.1475, allocations: 12.75 kB / 434.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1477, allocations: 208.1 kB / 434.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1478, allocations: 384 / 434.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1478, allocations: 8.125 kB / 434.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1479, allocations: 57.61 kB / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.148, allocations: 0 / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.148, allocations: 0 / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.148, allocations: 0 / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.1481, allocations: 27.98 kB / 434.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1485, allocations: 280.9 kB / 435.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1487, allocations: 58.61 kB / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1487, allocations: 20.8 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1488, allocations: 11.98 kB / 435.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.149, allocations: 63.39 kB / 435.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.149, allocations: 0 / 435.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005559/0.1496, allocations: 173.2 kB / 435.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.1496, allocations: 51.41 kB / 435.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1499, allocations: 186.2 kB / 435.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1499, allocations: 25.7 kB / 435.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.15, allocations: 108.1 kB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.15, allocations: 19.72 kB / 435.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.1501, allocations: 25.7 kB / 435.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1502, allocations: 330.8 kB / 436.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.1503, allocations: 16 kB / 436.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.1504, allocations: 41.58 kB / 436.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1505, allocations: 65.77 kB / 436.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1505, allocations: 0 / 436.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.1507, allocations: 105.4 kB / 436.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1508, allocations: 4 kB / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.1508, allocations: 3.984 kB / 436.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1508, allocations: 4 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1509, allocations: 16.36 kB / 436.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1509, allocations: 0 / 436.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.151, allocations: 19.97 kB / 436.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.151, allocations: 3.984 kB / 436.4 MB, free: 1.395 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.0001448/0.1512, allocations: 129.8 kB / 436.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1512, allocations: 7.906 kB / 436.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.1513, allocations: 16.7 kB / 436.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1513, allocations: 0 / 436.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1513, allocations: 4 kB / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1513, allocations: 3.938 kB / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.1519, allocations: 387.3 kB / 437 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1519, allocations: 0 / 437 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.1519, allocations: 12 kB / 437 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1519, allocations: 4 kB / 437 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.152, allocations: 7.922 kB / 437 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.152, allocations: 0 / 437 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.152, allocations: 3.938 kB / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1523, allocations: 204.2 kB / 437.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1523, allocations: 89.02 kB / 437.3 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.1524, allocations: 7.938 kB / 437.3 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1524, allocations: 7.984 kB / 437.3 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1525, allocations: 4 kB / 437.3 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1525, allocations: 4 kB / 437.3 MB, free: 424 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1526, allocations: 148 kB / 437.4 MB, free: 276 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 4 kB / 437.4 MB, free: 272 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1529, allocations: 20 kB / 437.5 MB, free: 252 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.001116/0.154, allocations: 469.3 kB / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1542, allocations: 63.91 kB / 438 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1543, allocations: 0 / 438 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.1543, allocations: 27.98 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1547, allocations: 23.98 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.1553, allocations: 249.3 kB / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1557, allocations: 0.7004 MB / 439 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.839e-05/0.1558, allocations: 16.88 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.1559, allocations: 23.44 kB / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1559, allocations: 0 / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Templates: time 0.004582/0.1604, allocations: 1.644 MB / 440.7 MB, free: 13.01 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)