Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008286/0.0008287, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007776/0.0007775, allocations: 97.34 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4648/0.4648, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5753, allocations: 89.5 MB / 0.5674 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5756, allocations: 75.97 kB / 0.5674 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.5909, allocations: 4.854 MB / 0.5722 GB, free: 7.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.591, allocations: 7.844 kB / 0.5722 GB, free: 7.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.591, allocations: 4 kB / 0.5722 GB, free: 7.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001113/0.5921, allocations: 0.5597 MB / 0.5727 GB, free: 6.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5922, allocations: 16.03 kB / 0.5728 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.5923, allocations: 20.66 kB / 0.5728 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.5928, allocations: 244.9 kB / 0.573 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.5928, allocations: 8.312 kB / 0.573 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.5928, allocations: 12.38 kB / 0.573 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.5933, allocations: 174.1 kB / 0.5732 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5933, allocations: 192 / 0.5732 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.5933, allocations: 3.938 kB / 0.5732 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5934, allocations: 5.25 kB / 0.5732 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.5938, allocations: 135.8 kB / 0.5733 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.5947, allocations: 0.5945 MB / 0.5739 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.5954, allocations: 190.5 kB / 0.5741 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5956, allocations: 88.8 kB / 0.5742 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.5957, allocations: 0 / 0.5742 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003721/0.596, allocations: 144 kB / 0.5743 GB, free: 5.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.664e-06/0.5961, allocations: 0 / 0.5743 GB, free: 5.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009093/0.597, allocations: 309.9 kB / 0.5746 GB, free: 4.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.597, allocations: 51.69 kB / 0.5747 GB, free: 4.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5973, allocations: 231.1 kB / 0.5749 GB, free: 4.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5973, allocations: 29.7 kB / 0.5749 GB, free: 4.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.5974, allocations: 124.4 kB / 0.575 GB, free: 4.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.5975, allocations: 35.53 kB / 0.5751 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.5975, allocations: 8 kB / 0.5751 GB, free: 4.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5976, allocations: 330.8 kB / 0.5754 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.5979, allocations: 83.92 kB / 0.5755 GB, free: 3.992 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5982, allocations: 116.2 kB / 0.5756 GB, free: 3.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.5987, allocations: 225.8 kB / 0.5758 GB, free: 3.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5987, allocations: 0 / 0.5758 GB, free: 3.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006762/0.5994, allocations: 275 kB / 0.5761 GB, free: 3.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.5995, allocations: 41.69 kB / 0.5761 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5995, allocations: 0 / 0.5761 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.5995, allocations: 4 kB / 0.5761 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.5997, allocations: 43.97 kB / 0.5761 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.5997, allocations: 4.875 kB / 0.5761 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.5999, allocations: 31.97 kB / 0.5762 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.6, allocations: 11.88 kB / 0.5762 GB, free: 3.199 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.6001, allocations: 131.1 kB / 0.5763 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.6002, allocations: 27.7 kB / 0.5763 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.6008, allocations: 235 kB / 0.5766 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6008, allocations: 4 kB / 0.5766 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6009, allocations: 0 / 0.5766 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6009, allocations: 3.984 kB / 0.5766 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.6011, allocations: 245.4 kB / 0.5768 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6011, allocations: 0 / 0.5768 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.6013, allocations: 39.91 kB / 0.5768 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6013, allocations: 3.938 kB / 0.5768 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6014, allocations: 0 / 0.5768 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6014, allocations: 4 kB / 0.5768 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6014, allocations: 0 / 0.5768 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.6023, allocations: 349.3 kB / 0.5772 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.6024, allocations: 104.8 kB / 0.5773 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.6024, allocations: 4 kB / 0.5773 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.6026, allocations: 32.03 kB / 0.5773 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.6027, allocations: 19.97 kB / 0.5773 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.6027, allocations: 4 kB / 0.5773 GB, free: 1.922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.6029, allocations: 168.5 kB / 0.5775 GB, free: 1.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6029, allocations: 0 / 0.5775 GB, free: 1.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.6032, allocations: 55.92 kB / 0.5776 GB, free: 1.703 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.6043, allocations: 430.3 kB / 0.578 GB, free: 1.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006475/0.6049, allocations: 247.3 kB / 0.5782 GB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.605, allocations: 0 / 0.5782 GB, free: 1.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.6053, allocations: 95.88 kB / 0.5783 GB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.6057, allocations: 44.03 kB / 0.5783 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.6066, allocations: 356.3 kB / 0.5787 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.607, allocations: 0.7283 MB / 0.5794 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.6072, allocations: 29.53 kB / 0.5794 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.6072, allocations: 15.44 kB / 0.5794 GB, free: 15.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.978e-06/0.6073, allocations: 0 / 0.5794 GB, free: 15.82 MB / 410.7 MB Notification: Performance of Templates: time 0.007137/0.6144, allocations: 2.606 MB / 0.582 GB, free: 13.22 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)