Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001317/0.001318, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.3675/0.3675, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0006614/0.0006614, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1422, allocations: 57.53 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002538/0.1448, allocations: 1.362 MB / 435.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.146, allocations: 0.742 MB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.1461, allocations: 0 / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1463, allocations: 27.91 kB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1466, allocations: 51.81 kB / 436.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.147, allocations: 71.78 kB / 436.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1472, allocations: 59.86 kB / 436.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1473, allocations: 16.2 kB / 436.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1474, allocations: 35.84 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.1475, allocations: 27.86 kB / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1475, allocations: 0 / 436.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1476, allocations: 31.92 kB / 436.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1477, allocations: 15.92 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.1478, allocations: 41.58 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.148, allocations: 92.08 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.148, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.148, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.148, allocations: 0 / 436.5 MB, free: 3 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.0006995/0.1487, allocations: 391 kB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1487, allocations: 15.97 kB / 436.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1488, allocations: 15.77 kB / 436.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1491, allocations: 202.9 kB / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1491, allocations: 0 / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1491, allocations: 4 kB / 437.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1493, allocations: 49.67 kB / 437.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1493, allocations: 7.938 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1494, allocations: 4 kB / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1494, allocations: 0 / 437.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.1495, allocations: 23.94 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.1499, allocations: 284.9 kB / 437.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1501, allocations: 58.66 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1501, allocations: 0 / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.1503, allocations: 71.44 kB / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1503, allocations: 0 / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.1509, allocations: 185.2 kB / 437.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.151, allocations: 51.41 kB / 437.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1512, allocations: 186.2 kB / 438 MB, free: 1.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1512, allocations: 25.7 kB / 438 MB, free: 1.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.1513, allocations: 100.1 kB / 438.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1513, allocations: 23.7 kB / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1513, allocations: 0 / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1515, allocations: 326.8 kB / 438.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1515, allocations: 23.98 kB / 438.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.1516, allocations: 33.7 kB / 438.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.1517, allocations: 24 kB / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1517, allocations: 0 / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.1519, allocations: 101.4 kB / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1519, allocations: 8 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1519, allocations: 4.141 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1519, allocations: 8.016 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.152, allocations: 15.94 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1521, allocations: 4 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.1521, allocations: 4 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1521, allocations: 4 kB / 438.7 MB, free: 0.5664 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.1523, allocations: 126.8 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.1523, allocations: 11.91 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1524, allocations: 16.7 kB / 438.9 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1524, allocations: 7.953 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1524, allocations: 0 / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1524, allocations: 0 / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.1528, allocations: 387.3 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1529, allocations: 3.938 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.1529, allocations: 11.95 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1529, allocations: 0 / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1529, allocations: 3.984 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1529, allocations: 8.031 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1529, allocations: 0 / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.1532, allocations: 221.8 kB / 439.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1533, allocations: 89.02 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1533, allocations: 0 / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1534, allocations: 11.98 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1534, allocations: 8 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1534, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1536, allocations: 148 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1536, allocations: 0 / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1539, allocations: 27.98 kB / 439.8 MB, free: 15.39 MB / 382.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 (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.001054/0.1549, allocations: 473.2 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1551, allocations: 59.92 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1551, allocations: 0 / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.1552, allocations: 31.92 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1555, allocations: 24.06 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.156, allocations: 234.4 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1563, allocations: 0.7083 MB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.1563, allocations: 12.88 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.1564, allocations: 15.44 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1564, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.004252/0.1607, allocations: 1.591 MB / 442.9 MB, free: 12.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: