Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001898/0.001898, allocations: 194 kB / 16.14 MB, free: 6.711 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.635/1.635, allocations: 205.1 MB / 222 MB, free: 4.773 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.3206/0.3206, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.001319/0.001319, allocations: 68.53 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003173/0.1421, allocations: 1.728 MB / 432.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1433, allocations: 0.8 MB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1434, allocations: 4 kB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1437, allocations: 27.91 kB / 433.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1439, allocations: 51.81 kB / 433.6 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1441, allocations: 79.8 kB / 433.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1443, allocations: 95.69 kB / 433.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1444, allocations: 16.19 kB / 433.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.1445, allocations: 39.73 kB / 433.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.1445, allocations: 27.86 kB / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1446, allocations: 3.984 kB / 433.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.421e-05/0.1447, allocations: 39.98 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.1447, allocations: 19.92 kB / 433.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.1448, allocations: 35.73 kB / 434 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.145, allocations: 111.9 kB / 434.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.145, allocations: 0 / 434.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.145, allocations: 3.938 kB / 434.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.145, allocations: 0 / 434.1 MB, free: 3.969 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.0005146/0.1455, allocations: 407.1 kB / 434.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1456, allocations: 12.03 kB / 434.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1456, allocations: 12.75 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1458, allocations: 212.1 kB / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1458, allocations: 384 / 434.7 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1459, allocations: 8.125 kB / 434.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.146, allocations: 57.67 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.146, allocations: 0 / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1461, allocations: 3.938 kB / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1461, allocations: 0 / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.1461, allocations: 23.98 kB / 434.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1465, allocations: 284.9 kB / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1467, allocations: 58.61 kB / 435.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.1468, allocations: 24.78 kB / 435.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1468, allocations: 0 / 435.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.147, allocations: 71.39 kB / 435.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.147, allocations: 0 / 435.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005524/0.1476, allocations: 177.2 kB / 435.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1476, allocations: 51.41 kB / 435.5 MB, free: 2.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1478, allocations: 182.2 kB / 435.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1478, allocations: 25.7 kB / 435.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.1479, allocations: 104.1 kB / 435.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1479, allocations: 23.7 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.148, allocations: 25.72 kB / 435.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1481, allocations: 330.8 kB / 436.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1482, allocations: 15.98 kB / 436.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.1482, allocations: 41.64 kB / 436.2 MB, free: 1.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1484, allocations: 61.72 kB / 436.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1484, allocations: 0 / 436.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.1486, allocations: 109.4 kB / 436.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1486, allocations: 4 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1486, allocations: 0 / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1486, allocations: 0 / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.1487, allocations: 23.98 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1487, allocations: 0 / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1488, allocations: 3.938 kB / 436.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1488, allocations: 4 kB / 436.4 MB, free: 1.422 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.0001035/0.1489, allocations: 125.8 kB / 436.5 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.1489, allocations: 15.94 kB / 436.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.149, allocations: 12.72 kB / 436.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.149, allocations: 3.938 kB / 436.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.149, allocations: 384 / 436.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.149, allocations: 3.938 kB / 436.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.1494, allocations: 387.4 kB / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1495, allocations: 11.92 kB / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.1495, allocations: 12.03 kB / 437 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1495, allocations: 0 / 437 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1495, allocations: 7.938 kB / 437 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1495, allocations: 3.938 kB / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1496, allocations: 0 / 437 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1498, allocations: 208.2 kB / 437.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.1498, allocations: 89 kB / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1499, allocations: 7.938 kB / 437.3 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.15, allocations: 8 kB / 437.3 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.15, allocations: 11.92 kB / 437.3 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.15, allocations: 8 kB / 437.3 MB, free: 428 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1501, allocations: 140.1 kB / 437.4 MB, free: 288 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1501, allocations: 0 / 437.4 MB, free: 288 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1504, allocations: 23.98 kB / 437.5 MB, free: 264 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.001028/0.1514, allocations: 465.3 kB / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1516, allocations: 63.89 kB / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1516, allocations: 0 / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.1517, allocations: 24 kB / 438 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.152, allocations: 36.03 kB / 438 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1525, allocations: 233.2 kB / 438.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1528, allocations: 0.7083 MB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.1528, allocations: 12.88 kB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1529, allocations: 19.44 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1529, allocations: 0 / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004159/0.157, allocations: 1.648 MB / 440.7 MB, free: 13.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)