Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001177, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.537/1.537, allocations: 205.1 MB / 222 MB, free: 4.758 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.311/0.311, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.001297/0.001297, allocations: 68.14 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003623/0.1392, allocations: 1.728 MB / 432.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1406, allocations: 0.8038 MB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.1407, allocations: 7.938 kB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.1411, allocations: 79.81 kB / 433.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.1413, allocations: 63.8 kB / 433.7 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1416, allocations: 83.84 kB / 433.8 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1418, allocations: 103.7 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1419, allocations: 16.2 kB / 433.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.142, allocations: 51.72 kB / 433.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1421, allocations: 55.81 kB / 434 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1421, allocations: 4 kB / 434 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.1422, allocations: 43.98 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.1423, allocations: 23.91 kB / 434.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.1424, allocations: 27.75 kB / 434.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1426, allocations: 131.8 kB / 434.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1426, allocations: 0 / 434.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1426, allocations: 0 / 434.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1426, allocations: 0 / 434.2 MB, free: 3.836 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.0005977/0.1432, allocations: 419 kB / 434.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1433, allocations: 12.03 kB / 434.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1433, allocations: 12.75 kB / 434.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1436, allocations: 216.1 kB / 434.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1436, allocations: 384 / 434.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1437, allocations: 16.12 kB / 434.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1438, allocations: 49.67 kB / 434.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1438, allocations: 7.875 kB / 434.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1439, allocations: 4 kB / 435 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1439, allocations: 0 / 435 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.144, allocations: 19.98 kB / 435 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1444, allocations: 296.7 kB / 435.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1446, allocations: 66.55 kB / 435.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.1446, allocations: 16.86 kB / 435.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1446, allocations: 3.984 kB / 435.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.1449, allocations: 71.39 kB / 435.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1449, allocations: 0 / 435.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000604/0.1455, allocations: 165.2 kB / 435.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1455, allocations: 55.39 kB / 435.6 MB, free: 2.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.1458, allocations: 218.7 kB / 435.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1458, allocations: 25.7 kB / 435.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.1459, allocations: 112 kB / 436 MB, free: 1.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1459, allocations: 31.62 kB / 436 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.146, allocations: 25.72 kB / 436 MB, free: 1.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1461, allocations: 334.8 kB / 436.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.1462, allocations: 19.98 kB / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.1463, allocations: 37.64 kB / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1464, allocations: 61.7 kB / 436.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1464, allocations: 4 kB / 436.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.1466, allocations: 93.53 kB / 436.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1466, allocations: 8 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1466, allocations: 0 / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1467, allocations: 0 / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.1468, allocations: 15.98 kB / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1468, allocations: 4 kB / 436.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1468, allocations: 7.938 kB / 436.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1468, allocations: 4 kB / 436.6 MB, free: 1.215 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.0001146/0.147, allocations: 137.8 kB / 436.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.147, allocations: 15.75 kB / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1471, allocations: 21.77 kB / 436.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1471, allocations: 3.984 kB / 436.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1471, allocations: 0 / 436.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1471, allocations: 3.938 kB / 436.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.1475, allocations: 403.3 kB / 437.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1475, allocations: 4.031 kB / 437.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1476, allocations: 11.98 kB / 437.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1476, allocations: 0 / 437.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1476, allocations: 3.938 kB / 437.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1476, allocations: 4.188 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1476, allocations: 0 / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1479, allocations: 204.1 kB / 437.4 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1479, allocations: 89.02 kB / 437.5 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.148, allocations: 3.938 kB / 437.5 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.148, allocations: 15.92 kB / 437.5 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1481, allocations: 4 kB / 437.5 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1481, allocations: 0 / 437.5 MB, free: 204 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1482, allocations: 176.3 kB / 437.7 MB, free: 28 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1483, allocations: 0 / 437.7 MB, free: 28 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1485, allocations: 24 kB / 437.7 MB, free: 4 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.001008/0.1495, allocations: 465.4 kB / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1497, allocations: 59.91 kB / 438.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1497, allocations: 0 / 438.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.1498, allocations: 32.05 kB / 438.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1502, allocations: 27.92 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.1507, allocations: 288.6 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.151, allocations: 0.7121 MB / 439.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.1511, allocations: 21.17 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.1511, allocations: 11.44 kB / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1511, allocations: 4 kB / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Templates: time 0.004513/0.1556, allocations: 1.666 MB / 441 MB, free: 12.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)