Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, 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.00247/0.00247, allocations: 190.6 kB / 16.25 MB, free: 6.574 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.784/1.784, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.4091/0.4091, allocations: 37.97 MB / 307.4 MB, free: 10.08 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.00156/0.00156, allocations: 74.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1369, allocations: 56.47 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003172/0.1401, allocations: 1.728 MB / 432.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1414, allocations: 0.7999 MB / 433.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.1415, allocations: 0 / 433.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1419, allocations: 35.89 kB / 433.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1421, allocations: 51.77 kB / 433.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1424, allocations: 71.84 kB / 433.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1425, allocations: 95.7 kB / 434 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1426, allocations: 20.2 kB / 434 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1427, allocations: 43.78 kB / 434 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.1428, allocations: 31.8 kB / 434.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1428, allocations: 4 kB / 434.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.1429, allocations: 47.97 kB / 434.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.143, allocations: 19.92 kB / 434.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.1431, allocations: 39.72 kB / 434.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1433, allocations: 111.9 kB / 434.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1433, allocations: 0 / 434.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-05/0.1433, allocations: 4 kB / 434.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1433, allocations: 3.938 kB / 434.3 MB, free: 3.855 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.0005906/0.1439, allocations: 403 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.144, allocations: 15.89 kB / 434.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.144, allocations: 12.75 kB / 434.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1442, allocations: 204.1 kB / 434.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1443, allocations: 8.375 kB / 434.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1443, allocations: 4.125 kB / 434.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1444, allocations: 61.61 kB / 435 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1445, allocations: 4 kB / 435 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1445, allocations: 3.984 kB / 435 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1445, allocations: 0 / 435 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.1446, allocations: 16 kB / 435 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.145, allocations: 284.9 kB / 435.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1452, allocations: 62.62 kB / 435.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1453, allocations: 20.84 kB / 435.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1453, allocations: 0 / 435.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.1455, allocations: 71.39 kB / 435.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1455, allocations: 0 / 435.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.1461, allocations: 173.2 kB / 435.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1462, allocations: 55.41 kB / 435.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1464, allocations: 178.2 kB / 435.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1464, allocations: 37.62 kB / 435.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.1465, allocations: 100.1 kB / 436 MB, free: 1.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1465, allocations: 27.69 kB / 436 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1466, allocations: 21.72 kB / 436 MB, free: 1.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1467, allocations: 326.8 kB / 436.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.1468, allocations: 31.92 kB / 436.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.1469, allocations: 37.7 kB / 436.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.147, allocations: 53.97 kB / 436.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.147, allocations: 3.984 kB / 436.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1472, allocations: 105.4 kB / 436.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1472, allocations: 8 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1472, allocations: 4.031 kB / 436.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1472, allocations: 0 / 436.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.1473, allocations: 15.98 kB / 436.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1474, allocations: 4 kB / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1474, allocations: 3.938 kB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1474, allocations: 4 kB / 436.6 MB, free: 1.305 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.0001083/0.1475, allocations: 129.8 kB / 436.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1476, allocations: 7.906 kB / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.1476, allocations: 16.72 kB / 436.8 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1476, allocations: 4 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1477, allocations: 0 / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1477, allocations: 7.922 kB / 436.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.1482, allocations: 391.3 kB / 437.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1482, allocations: 0 / 437.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1482, allocations: 8 kB / 437.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1482, allocations: 0 / 437.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1482, allocations: 3.938 kB / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1482, allocations: 8.406 kB / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1482, allocations: 0 / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1485, allocations: 204.1 kB / 437.4 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1486, allocations: 89 kB / 437.5 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1486, allocations: 7.938 kB / 437.5 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1487, allocations: 11.98 kB / 437.5 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1487, allocations: 7.984 kB / 437.5 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1487, allocations: 4 kB / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1489, allocations: 148 kB / 437.6 MB, free: 176 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1489, allocations: 0 / 437.6 MB, free: 176 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1491, allocations: 23.98 kB / 437.7 MB, free: 152 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.001095/0.1502, allocations: 469.5 kB / 438.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1504, allocations: 71.88 kB / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1505, allocations: 0 / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.1505, allocations: 27.94 kB / 438.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1509, allocations: 39.83 kB / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.1513, allocations: 235.3 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1517, allocations: 0.7041 MB / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.073e-05/0.1517, allocations: 16.88 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.1518, allocations: 15.44 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1518, allocations: 0 / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004657/0.1564, allocations: 1.667 MB / 440.9 MB, free: 12.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)