Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001338/0.001338, allocations: 192.1 kB / 16.13 MB, free: 6.656 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.615/1.615, allocations: 205.1 MB / 222 MB, free: 4.75 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.3736/0.3736, allocations: 37.98 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.001404/0.001404, allocations: 63.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003087/0.1432, allocations: 1.728 MB / 432.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1446, allocations: 0.8038 MB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.1446, allocations: 4 kB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.145, allocations: 35.83 kB / 433.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1452, allocations: 43.84 kB / 433.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1454, allocations: 79.77 kB / 433.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1456, allocations: 91.7 kB / 433.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1457, allocations: 8.219 kB / 433.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.1458, allocations: 43.78 kB / 433.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.1459, allocations: 35.84 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1459, allocations: 0 / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.146, allocations: 39.98 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.146, allocations: 15.86 kB / 433.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.1461, allocations: 31.8 kB / 434 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1463, allocations: 111.9 kB / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1463, allocations: 0 / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1463, allocations: 0 / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1463, 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.0006479/0.147, allocations: 407.1 kB / 434.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.147, allocations: 8.031 kB / 434.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1471, allocations: 8.844 kB / 434.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1474, allocations: 215.8 kB / 434.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1474, allocations: 384 / 434.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1474, allocations: 8.125 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1476, allocations: 53.67 kB / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1476, allocations: 0 / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1476, allocations: 0 / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1476, allocations: 0 / 434.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.1477, allocations: 27.98 kB / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.1482, allocations: 284.9 kB / 435.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1484, allocations: 62.59 kB / 435.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.1484, allocations: 20.84 kB / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1485, allocations: 4 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1487, allocations: 71.3 kB / 435.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1487, allocations: 0 / 435.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.1493, allocations: 173.3 kB / 435.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1493, allocations: 51.41 kB / 435.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1495, allocations: 166.2 kB / 435.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1496, allocations: 29.7 kB / 435.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.1496, allocations: 104.1 kB / 435.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1497, allocations: 23.66 kB / 435.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1497, allocations: 21.7 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1498, allocations: 330.7 kB / 436.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.1499, allocations: 20 kB / 436.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.15, allocations: 37.64 kB / 436.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1501, allocations: 73.75 kB / 436.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1501, allocations: 0 / 436.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.1503, allocations: 97.44 kB / 436.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1503, allocations: 8 kB / 436.3 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1503, allocations: 0 / 436.3 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1504, allocations: 3.984 kB / 436.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1505, allocations: 12 kB / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1505, allocations: 0 / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1506, allocations: 19.91 kB / 436.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1506, allocations: 4 kB / 436.4 MB, free: 1.441 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.0001052/0.1507, allocations: 125.8 kB / 436.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1507, allocations: 11.84 kB / 436.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.1508, allocations: 16.7 kB / 436.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1508, allocations: 0 / 436.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1508, allocations: 0 / 436.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1508, allocations: 7.938 kB / 436.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.1513, allocations: 391.3 kB / 436.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1513, allocations: 0 / 436.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1514, allocations: 8 kB / 436.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1514, allocations: 0 / 436.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1514, allocations: 7.938 kB / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1514, allocations: 0 / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1514, allocations: 0 / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1516, allocations: 212.2 kB / 437.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.1517, allocations: 85.02 kB / 437.2 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1517, allocations: 3.938 kB / 437.2 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.1518, allocations: 12 kB / 437.2 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1518, allocations: 4.359 kB / 437.2 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1518, allocations: 4 kB / 437.2 MB, free: 476 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.1519, allocations: 132.1 kB / 437.4 MB, free: 344 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.152, allocations: 0 / 437.4 MB, free: 344 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1522, allocations: 31.98 kB / 437.4 MB, free: 312 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.0009993/0.1532, allocations: 465.3 kB / 437.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1534, allocations: 63.91 kB / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1534, allocations: 4 kB / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.1535, allocations: 28.08 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1539, allocations: 36.05 kB / 438 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.1543, allocations: 228.8 kB / 438.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1546, allocations: 0.7004 MB / 438.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.1547, allocations: 12.88 kB / 438.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.1547, allocations: 15.44 kB / 438.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1547, allocations: 4 kB / 438.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004297/0.159, allocations: 1.64 MB / 440.6 MB, free: 13.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)