Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, 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.001321/0.001321, allocations: 195.9 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.781/1.781, allocations: 205.1 MB / 222 MB, free: 4.809 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.4198/0.4198, allocations: 39.93 MB / 309.3 MB, free: 9.289 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.001543/0.001543, allocations: 59.91 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.146, allocations: 56.89 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003854/0.1499, allocations: 1.709 MB / 435.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1513, allocations: 0.7728 MB / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.1515, allocations: 0 / 436.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1518, allocations: 59.86 kB / 436.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1521, allocations: 59.75 kB / 436.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1523, allocations: 67.91 kB / 436.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1525, allocations: 95.64 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1525, allocations: 11.97 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.1526, allocations: 47.77 kB / 436.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.1527, allocations: 39.84 kB / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1527, allocations: 4 kB / 436.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.1528, allocations: 31.97 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.1529, allocations: 15.92 kB / 436.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.1529, allocations: 27.75 kB / 436.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1531, allocations: 103.9 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1531, allocations: 0 / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1531, allocations: 0 / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1531, allocations: 0 / 436.9 MB, free: 1.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004925/0.1536, allocations: 407 kB / 437.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1537, allocations: 8.031 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1537, allocations: 12.84 kB / 437.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1539, allocations: 208 kB / 437.5 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1539, allocations: 4.375 kB / 437.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.154, allocations: 4.125 kB / 437.5 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1541, allocations: 57.55 kB / 437.5 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1541, allocations: 0 / 437.5 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1541, allocations: 0 / 437.5 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1541, allocations: 0 / 437.5 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.1542, allocations: 15.98 kB / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.1544, allocations: 193.7 kB / 437.7 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1546, allocations: 46.67 kB / 437.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1547, allocations: 24.73 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1547, allocations: 3.938 kB / 437.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1549, allocations: 67.39 kB / 437.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.155, allocations: 0 / 437.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002908/0.1553, allocations: 93.58 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1553, allocations: 51.41 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1555, allocations: 182.2 kB / 438.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1555, allocations: 29.64 kB / 438.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1556, allocations: 104.1 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1556, allocations: 11.81 kB / 438.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.1557, allocations: 21.72 kB / 438.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1558, allocations: 322.8 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.1558, allocations: 15.98 kB / 438.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.1559, allocations: 29.7 kB / 438.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.156, allocations: 41.7 kB / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.156, allocations: 0 / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.1562, allocations: 89.47 kB / 438.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1562, allocations: 4 kB / 438.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1562, allocations: 3.984 kB / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1562, allocations: 0 / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.1563, allocations: 8 kB / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1563, allocations: 4 kB / 438.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1564, allocations: 7.906 kB / 438.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1564, allocations: 4 kB / 438.9 MB, free: 14.8 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 (7): * Single equations (assignments): 7 * 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 9.759e-05/0.1565, allocations: 133.7 kB / 439 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1565, allocations: 11.84 kB / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1566, allocations: 12.31 kB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1566, allocations: 7.969 kB / 439 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1566, allocations: 4.312 kB / 439.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1566, allocations: 0 / 439.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1567, allocations: 189.5 kB / 439.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1567, allocations: 0 / 439.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.1568, allocations: 4 kB / 439.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1568, allocations: 0 / 439.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1568, allocations: 4 kB / 439.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1568, allocations: 7.938 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1568, allocations: 0 / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.157, allocations: 108.9 kB / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.157, allocations: 93 kB / 439.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1571, allocations: 0 / 439.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.1571, allocations: 0 / 439.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.1571, allocations: 4 kB / 439.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1572, allocations: 4 kB / 439.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1573, allocations: 148 kB / 439.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1573, allocations: 0 / 439.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.1575, allocations: 19.91 kB / 439.6 MB, free: 13.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008985/0.1584, allocations: 414 kB / 440 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1585, allocations: 47.91 kB / 440.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1586, allocations: 0 / 440.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.1586, allocations: 20.06 kB / 440.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1589, allocations: 27.91 kB / 440.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1593, allocations: 207.7 kB / 440.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1596, allocations: 0.7083 MB / 441 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.1597, allocations: 8.562 kB / 441 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.1597, allocations: 15.42 kB / 441.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1597, allocations: 0 / 441.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of Templates: time 0.003917/0.1636, allocations: 1.423 MB / 442.5 MB, free: 11.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)