Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, 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.001166/0.001166, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.61/1.61, 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.4303/0.4303, allocations: 37.97 MB / 307.3 MB, free: 10.04 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.001397/0.001397, allocations: 60.14 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.135, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003266/0.1383, allocations: 1.732 MB / 432.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1397, allocations: 0.8077 MB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.1398, allocations: 4 kB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1401, allocations: 23.92 kB / 433.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1403, allocations: 47.77 kB / 433.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1405, allocations: 83.83 kB / 433.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1407, allocations: 95.62 kB / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1408, allocations: 16.2 kB / 433.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.1409, allocations: 39.8 kB / 433.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.141, allocations: 31.84 kB / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.141, allocations: 0 / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.1411, allocations: 43.97 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1412, allocations: 15.92 kB / 434 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.1412, allocations: 27.75 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1414, allocations: 115.9 kB / 434.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1414, allocations: 0 / 434.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1414, allocations: 0 / 434.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1415, allocations: 0 / 434.1 MB, free: 3.98 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.0005559/0.142, allocations: 415 kB / 434.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1421, allocations: 12.03 kB / 434.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1421, allocations: 12.75 kB / 434.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.1423, allocations: 212.1 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1424, allocations: 384 / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1424, allocations: 8.125 kB / 434.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1425, allocations: 57.61 kB / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1425, allocations: 0 / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1426, allocations: 0 / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1426, allocations: 4 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.1427, allocations: 19.98 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.143, allocations: 280.9 kB / 435.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1432, allocations: 58.62 kB / 435.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1433, allocations: 20.84 kB / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1433, allocations: 4 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1435, allocations: 67.39 kB / 435.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1435, allocations: 0 / 435.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005267/0.144, allocations: 169.2 kB / 435.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.1441, allocations: 51.41 kB / 435.5 MB, free: 2.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1444, allocations: 186.2 kB / 435.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1444, allocations: 29.7 kB / 435.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.1444, allocations: 116 kB / 435.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1445, allocations: 19.72 kB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1445, allocations: 25.7 kB / 435.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1446, allocations: 326.8 kB / 436.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.1447, allocations: 19.94 kB / 436.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.1448, allocations: 41.64 kB / 436.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1449, allocations: 57.7 kB / 436.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1449, allocations: 0 / 436.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.1451, allocations: 105.4 kB / 436.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1451, allocations: 4 kB / 436.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1451, allocations: 384 / 436.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1451, allocations: 0 / 436.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.1452, allocations: 19.98 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1453, allocations: 0 / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.1453, allocations: 11.97 kB / 436.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1453, allocations: 8 kB / 436.4 MB, free: 1.43 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.000105/0.1454, allocations: 125.8 kB / 436.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1455, allocations: 11.91 kB / 436.5 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1455, allocations: 16.7 kB / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1455, allocations: 0 / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1455, allocations: 0 / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1455, allocations: 7.922 kB / 436.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.146, allocations: 395.3 kB / 437 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.146, allocations: 0 / 437 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.146, allocations: 8 kB / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.146, allocations: 0 / 437 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.146, allocations: 7.938 kB / 437 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1461, allocations: 3.984 kB / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1461, allocations: 0 / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1463, allocations: 216.4 kB / 437.2 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.1463, allocations: 85.02 kB / 437.3 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1464, allocations: 7.938 kB / 437.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.1464, allocations: 8 kB / 437.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1465, allocations: 7.984 kB / 437.3 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1465, allocations: 4 kB / 437.3 MB, free: 448 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1466, allocations: 144 kB / 437.4 MB, free: 304 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1466, allocations: 3.938 kB / 437.4 MB, free: 300 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1469, allocations: 24 kB / 437.5 MB, free: 276 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.001083/0.148, allocations: 469.1 kB / 437.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1482, allocations: 59.91 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1482, allocations: 0 / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1483, allocations: 35.92 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.0003598/0.1487, allocations: 19.98 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.1492, allocations: 245.3 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1496, allocations: 0.7043 MB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.325e-05/0.1497, allocations: 17.19 kB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1497, allocations: 19.42 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1497, allocations: 4 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.004668/0.1544, allocations: 1.632 MB / 440.6 MB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)