Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002056/0.002056, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.69/1.69, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3553/0.3553, allocations: 37.97 MB / 307.4 MB, free: 10.07 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.001412/0.001412, allocations: 70.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 56.47 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003124/0.1402, allocations: 1.724 MB / 432.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1415, allocations: 0.8 MB / 433.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.1416, allocations: 3.938 kB / 433.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1419, allocations: 31.91 kB / 433.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1421, allocations: 43.83 kB / 433.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1424, allocations: 75.84 kB / 433.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1426, allocations: 91.7 kB / 434 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1427, allocations: 24.19 kB / 434 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.1428, allocations: 47.72 kB / 434 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.1429, allocations: 27.86 kB / 434.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1429, allocations: 4 kB / 434.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.143, allocations: 43.98 kB / 434.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1431, allocations: 23.84 kB / 434.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.1431, allocations: 27.81 kB / 434.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1433, allocations: 107.9 kB / 434.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1433, allocations: 0 / 434.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1433, allocations: 4 kB / 434.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1434, allocations: 4 kB / 434.3 MB, free: 3.871 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.0005671/0.1439, allocations: 407 kB / 434.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.144, allocations: 11.89 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.144, allocations: 12.84 kB / 434.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1442, allocations: 188.8 kB / 434.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1443, allocations: 7.922 kB / 434.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1443, allocations: 7.906 kB / 434.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1445, allocations: 57.67 kB / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1445, allocations: 0 / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1445, allocations: 0 / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1445, allocations: 0 / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.1446, allocations: 27.92 kB / 435 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.145, allocations: 288.8 kB / 435.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.1452, allocations: 58.69 kB / 435.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.1452, allocations: 20.84 kB / 435.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1453, allocations: 3.938 kB / 435.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1454, allocations: 67.39 kB / 435.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.386e-06/0.1454, allocations: 0 / 435.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.146, allocations: 169.2 kB / 435.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1461, allocations: 63.34 kB / 435.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1462, allocations: 154.4 kB / 435.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1463, allocations: 29.7 kB / 435.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1463, allocations: 100 kB / 435.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1464, allocations: 27.64 kB / 436 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1464, allocations: 17.72 kB / 436 MB, free: 1.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1465, allocations: 326.8 kB / 436.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.1466, allocations: 19.98 kB / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.1467, allocations: 37.7 kB / 436.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1468, allocations: 69.62 kB / 436.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1468, allocations: 0 / 436.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.147, allocations: 93.53 kB / 436.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.147, allocations: 4.188 kB / 436.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.147, allocations: 0 / 436.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.147, allocations: 15.91 kB / 436.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.1471, allocations: 15.98 kB / 436.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1471, allocations: 0 / 436.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.1472, allocations: 8 kB / 436.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1472, allocations: 0 / 436.5 MB, free: 1.367 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.0001194/0.1473, allocations: 121.8 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.1473, allocations: 7.906 kB / 436.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1474, allocations: 16.66 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1474, allocations: 4 kB / 436.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1474, allocations: 4 kB / 436.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1474, allocations: 3.938 kB / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.1479, allocations: 387.3 kB / 437.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1479, allocations: 0 / 437.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.148, allocations: 16.3 kB / 437.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.148, allocations: 0 / 437.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.148, allocations: 4 kB / 437.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.148, allocations: 4 kB / 437.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.148, allocations: 4.031 kB / 437.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1482, allocations: 208.1 kB / 437.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1483, allocations: 85.02 kB / 437.4 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1483, allocations: 3.984 kB / 437.4 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.1484, allocations: 11.94 kB / 437.4 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1484, allocations: 3.938 kB / 437.4 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1484, allocations: 11.98 kB / 437.4 MB, free: 392 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1485, allocations: 127.9 kB / 437.5 MB, free: 264 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1485, allocations: 0 / 437.5 MB, free: 264 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1488, allocations: 24 kB / 437.6 MB, free: 240 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.0009591/0.1498, allocations: 477.7 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1499, allocations: 59.84 kB / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.15, allocations: 0 / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.15, allocations: 31.98 kB / 438.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1504, allocations: 31.78 kB / 438.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.1508, allocations: 234.9 kB / 438.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1511, allocations: 0.7002 MB / 439.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.948e-05/0.1512, allocations: 12.89 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1512, allocations: 23.36 kB / 439.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1512, allocations: 0 / 439.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Templates: time 0.004262/0.1555, allocations: 1.652 MB / 440.8 MB, free: 12.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)