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.001339/0.001339, 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.001828/0.001828, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.76/1.76, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3869/0.3869, allocations: 37.98 MB / 307.4 MB, free: 10.2 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.001634/0.001634, allocations: 74.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1402, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003513/0.1437, allocations: 1.72 MB / 432.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.145, allocations: 0.7999 MB / 433.7 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.1451, allocations: 4 kB / 433.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1456, allocations: 31.89 kB / 433.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.1458, allocations: 47.78 kB / 433.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1461, allocations: 71.91 kB / 433.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1463, allocations: 103.6 kB / 434 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1465, allocations: 8.219 kB / 434 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.1466, allocations: 39.8 kB / 434 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.1467, allocations: 35.83 kB / 434.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1467, allocations: 4 kB / 434.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1469, allocations: 43.98 kB / 434.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1469, allocations: 11.94 kB / 434.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.147, allocations: 47.66 kB / 434.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.1473, allocations: 115.9 kB / 434.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1473, allocations: 0 / 434.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1473, allocations: 0 / 434.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1473, allocations: 0 / 434.3 MB, free: 3.867 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.0007812/0.1481, allocations: 399 kB / 434.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1482, allocations: 11.89 kB / 434.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.1483, allocations: 12.84 kB / 434.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1486, allocations: 211.9 kB / 434.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1486, allocations: 4.375 kB / 434.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1487, allocations: 8.125 kB / 434.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1489, allocations: 57.61 kB / 435 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.1489, allocations: 4 kB / 435 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1489, allocations: 0 / 435 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1489, allocations: 7.984 kB / 435 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.149, allocations: 15.98 kB / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.1495, allocations: 280.9 kB / 435.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1497, allocations: 66.61 kB / 435.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.1498, allocations: 20.84 kB / 435.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1499, allocations: 4 kB / 435.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.15, allocations: 67.3 kB / 435.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1501, allocations: 4 kB / 435.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006639/0.1507, allocations: 173.3 kB / 435.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1508, allocations: 51.41 kB / 435.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.151, allocations: 174.2 kB / 435.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.151, allocations: 25.7 kB / 435.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.1511, allocations: 100.1 kB / 436 MB, free: 2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1511, allocations: 23.66 kB / 436 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1512, allocations: 25.7 kB / 436 MB, free: 1.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1514, allocations: 330.8 kB / 436.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.1514, allocations: 16 kB / 436.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.1515, allocations: 41.64 kB / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1516, allocations: 53.7 kB / 436.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1516, allocations: 0 / 436.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1518, allocations: 113.5 kB / 436.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1519, allocations: 4 kB / 436.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1519, allocations: 4.172 kB / 436.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1519, allocations: 0 / 436.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.152, allocations: 19.94 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.152, allocations: 0 / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.1521, allocations: 3.938 kB / 436.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1521, allocations: 8 kB / 436.6 MB, free: 1.336 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.0001063/0.1522, allocations: 125.8 kB / 436.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.1522, allocations: 15.84 kB / 436.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.1523, allocations: 16.7 kB / 436.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1523, allocations: 4 kB / 436.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1523, allocations: 0 / 436.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1523, allocations: 3.938 kB / 436.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.1528, allocations: 383.7 kB / 437.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1528, allocations: 0 / 437.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1528, allocations: 12 kB / 437.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1528, allocations: 8.031 kB / 437.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1528, allocations: 3.938 kB / 437.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1528, allocations: 0 / 437.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1529, allocations: 3.984 kB / 437.1 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1531, allocations: 208.1 kB / 437.4 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.1532, allocations: 85.02 kB / 437.4 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1532, allocations: 7.938 kB / 437.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.1533, allocations: 4 kB / 437.4 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1533, allocations: 11.98 kB / 437.5 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1533, allocations: 4 kB / 437.5 MB, free: 360 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.304e-05/0.1534, allocations: 128.1 kB / 437.6 MB, free: 232 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1534, allocations: 0 / 437.6 MB, free: 232 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1537, allocations: 27.98 kB / 437.6 MB, free: 204 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.001169/0.1549, allocations: 477.6 kB / 438.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1551, allocations: 63.91 kB / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1551, allocations: 0 / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.1552, allocations: 27.94 kB / 438.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1556, allocations: 40.64 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.1562, allocations: 234.8 kB / 438.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.1566, allocations: 0.7041 MB / 439.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.696e-05/0.1567, allocations: 16.86 kB / 439.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.1568, allocations: 15.44 kB / 439.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1568, allocations: 0 / 439.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004674/0.1614, allocations: 1.66 MB / 440.8 MB, free: 12.94 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)