Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, 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.001384/0.001384, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.692/1.692, allocations: 205.1 MB / 222.1 MB, free: 4.945 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.4435/0.4435, allocations: 37.98 MB / 307.4 MB, free: 9.852 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.001358/0.001357, allocations: 66.62 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1394, allocations: 56.48 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003836/0.1433, allocations: 1.724 MB / 432.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1446, allocations: 0.7999 MB / 433.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.1446, allocations: 0 / 433.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.145, allocations: 35.84 kB / 433.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1452, allocations: 47.83 kB / 433.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1454, allocations: 71.84 kB / 433.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1456, allocations: 95.69 kB / 434 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1457, allocations: 16.22 kB / 434 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.1458, allocations: 43.78 kB / 434 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.1459, allocations: 27.86 kB / 434.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1459, allocations: 4 kB / 434.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.146, allocations: 39.98 kB / 434.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.1461, allocations: 27.84 kB / 434.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1461, allocations: 31.8 kB / 434.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1463, allocations: 103.9 kB / 434.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1463, allocations: 0 / 434.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1463, allocations: 7.938 kB / 434.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1463, allocations: 0 / 434.3 MB, free: 3.887 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.0005226/0.1469, allocations: 407 kB / 434.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1469, allocations: 11.89 kB / 434.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1469, allocations: 12.83 kB / 434.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1472, allocations: 204.8 kB / 434.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1472, allocations: 3.938 kB / 434.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1472, allocations: 7.906 kB / 434.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1474, allocations: 57.67 kB / 435 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1474, allocations: 0 / 435 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1474, allocations: 0 / 435 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1474, allocations: 0 / 435 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.819e-05/0.1475, allocations: 19.98 kB / 435 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1478, allocations: 288.8 kB / 435.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.148, allocations: 62.62 kB / 435.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.1481, allocations: 20.84 kB / 435.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1481, allocations: 0 / 435.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.1483, allocations: 67.39 kB / 435.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.1483, allocations: 0 / 435.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004817/0.1488, allocations: 165.5 kB / 435.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1489, allocations: 63.34 kB / 435.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.149, allocations: 154.4 kB / 435.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.149, allocations: 33.7 kB / 435.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.1491, allocations: 104 kB / 435.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1492, allocations: 27.59 kB / 436 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1492, allocations: 21.7 kB / 436 MB, free: 1.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1493, allocations: 318.8 kB / 436.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.764e-05/0.1494, allocations: 23.98 kB / 436.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.1495, allocations: 37.7 kB / 436.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1496, allocations: 57.77 kB / 436.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1496, allocations: 4 kB / 436.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.1498, allocations: 101.5 kB / 436.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1498, allocations: 4 kB / 436.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1498, allocations: 0 / 436.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1498, allocations: 11.97 kB / 436.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.1499, allocations: 15.98 kB / 436.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1499, allocations: 4.125 kB / 436.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.15, allocations: 4 kB / 436.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.15, allocations: 3.938 kB / 436.6 MB, free: 1.375 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 8.896e-05/0.1501, allocations: 125.8 kB / 436.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1501, allocations: 7.906 kB / 436.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.1502, allocations: 16.66 kB / 436.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1502, allocations: 4 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1502, allocations: 4 kB / 436.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1502, allocations: 3.984 kB / 436.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1506, allocations: 383.3 kB / 437.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1506, allocations: 3.984 kB / 437.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.1507, allocations: 12 kB / 437.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1507, allocations: 0 / 437.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1507, allocations: 4 kB / 437.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1507, allocations: 0 / 437.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1507, allocations: 4.031 kB / 437.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.1509, allocations: 208.1 kB / 437.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.151, allocations: 89 kB / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.151, allocations: 0 / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.1511, allocations: 3.938 kB / 437.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1511, allocations: 11.97 kB / 437.4 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1512, allocations: 12 kB / 437.4 MB, free: 404 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1513, allocations: 127.9 kB / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 0 / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1515, allocations: 24 kB / 437.6 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.00113/0.1527, allocations: 469.8 kB / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1529, allocations: 67.8 kB / 438.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1529, allocations: 0 / 438.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.153, allocations: 39.86 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.0003721/0.1534, allocations: 23.84 kB / 438.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.154, allocations: 234.9 kB / 438.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1544, allocations: 0.6963 MB / 439.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.217e-05/0.1544, allocations: 17.19 kB / 439.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.1545, allocations: 19.38 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1545, allocations: 0 / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004462/0.159, allocations: 1.663 MB / 440.8 MB, free: 13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)