Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001374/0.001373, 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.00192/0.00192, allocations: 190.7 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.65/1.65, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3639/0.3639, allocations: 39.92 MB / 309.4 MB, free: 9.648 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.2. 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.001571/0.001571, allocations: 63.91 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1335, allocations: 56.9 MB / 434 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003295/0.1368, allocations: 1.743 MB / 435.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1382, allocations: 0.7923 MB / 436.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.1383, allocations: 0 / 436.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.1387, allocations: 31.84 kB / 436.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1389, allocations: 47.83 kB / 436.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1391, allocations: 79.78 kB / 436.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1393, allocations: 99.69 kB / 436.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1394, allocations: 16.2 kB / 436.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.1395, allocations: 39.8 kB / 436.9 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.1396, allocations: 31.84 kB / 436.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1396, allocations: 4 kB / 436.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.1397, allocations: 39.98 kB / 436.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.1398, allocations: 19.86 kB / 436.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.1398, allocations: 35.8 kB / 437 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.14, allocations: 115.9 kB / 437.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.14, allocations: 4 kB / 437.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.14, allocations: 0 / 437.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1401, allocations: 0 / 437.1 MB, free: 1.184 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.0005622/0.1406, allocations: 399 kB / 437.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1407, allocations: 15.89 kB / 437.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.1407, allocations: 12.75 kB / 437.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1409, allocations: 208 kB / 437.7 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1409, allocations: 8.312 kB / 437.7 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.141, allocations: 8.031 kB / 437.7 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1411, allocations: 57.67 kB / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1411, allocations: 0 / 437.8 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1412, allocations: 4 kB / 437.8 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1412, allocations: 3.984 kB / 437.8 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.1412, allocations: 19.98 kB / 437.8 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1416, allocations: 284.9 kB / 438.1 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1418, allocations: 62.61 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.1418, allocations: 20.84 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1419, allocations: 4 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1421, allocations: 63.39 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1421, allocations: 0 / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005904/0.1427, allocations: 173.2 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1427, allocations: 55.41 kB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1429, allocations: 166.2 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1429, allocations: 29.7 kB / 438.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.143, allocations: 100.1 kB / 438.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.1431, allocations: 31.58 kB / 438.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.1431, allocations: 25.7 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1433, allocations: 326.8 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.1433, allocations: 27.94 kB / 439.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.1434, allocations: 33.7 kB / 439.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1435, allocations: 57.77 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1435, allocations: 3.938 kB / 439.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1437, allocations: 101.5 kB / 439.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1438, allocations: 4 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1438, allocations: 4.031 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1438, allocations: 4 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.1439, allocations: 15.98 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1439, allocations: 0 / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.144, allocations: 7.938 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.144, allocations: 3.938 kB / 439.4 MB, free: 14.65 MB / 382.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.0001246/0.1441, allocations: 125.8 kB / 439.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1441, allocations: 15.81 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.1442, allocations: 16.7 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1442, allocations: 4 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1442, allocations: 0 / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1442, allocations: 3.938 kB / 439.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1447, allocations: 387.3 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1447, allocations: 4.375 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.1448, allocations: 8 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1448, allocations: 0 / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1448, allocations: 7.938 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1448, allocations: 4.031 kB / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1448, allocations: 4 kB / 440 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1451, allocations: 204.2 kB / 440.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.1451, allocations: 81.02 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1451, allocations: 7.938 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.1452, allocations: 0 / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1453, allocations: 19.97 kB / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1453, allocations: 4 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1454, allocations: 128.1 kB / 440.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1454, allocations: 0 / 440.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1457, allocations: 28.17 kB / 440.4 MB, free: 13.51 MB / 382.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.001048/0.1467, allocations: 474.8 kB / 440.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1469, allocations: 63.89 kB / 440.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1469, allocations: 0 / 440.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.147, allocations: 28.09 kB / 441 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1474, allocations: 32.72 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.1478, allocations: 238.9 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1481, allocations: 0.7041 MB / 441.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.1482, allocations: 16.86 kB / 442 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1482, allocations: 15.44 kB / 442 MB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1482, allocations: 0 / 442 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Templates: time 0.00431/0.1525, allocations: 1.662 MB / 443.6 MB, free: 10.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)