Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, 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.001961/0.001961, allocations: 197 kB / 16.14 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.661/1.661, 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.2+maint.om/package.mo): time 0.4602/0.4602, allocations: 39.94 MB / 309.3 MB, free: 9.621 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.001786/0.001787, allocations: 70.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 56.89 MB / 433.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004657/0.153, allocations: 1.744 MB / 435.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1545, allocations: 0.7963 MB / 436.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1547, allocations: 3.938 kB / 436.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.1551, allocations: 47.86 kB / 436.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1554, allocations: 55.81 kB / 436.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1557, allocations: 83.78 kB / 436.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1559, allocations: 87.7 kB / 436.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.156, allocations: 24.14 kB / 436.7 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1561, allocations: 43.72 kB / 436.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1563, allocations: 31.84 kB / 436.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1563, allocations: 8 kB / 436.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1564, allocations: 35.98 kB / 436.8 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.1565, allocations: 31.84 kB / 436.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1566, allocations: 35.73 kB / 436.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1569, allocations: 131.8 kB / 437 MB, free: 1.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1569, allocations: 0 / 437 MB, free: 1.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1569, allocations: 0 / 437 MB, free: 1.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1569, allocations: 0 / 437 MB, free: 1.227 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.0007477/0.1577, allocations: 442.7 kB / 437.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1577, allocations: 12.03 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.1578, allocations: 16.83 kB / 437.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1581, allocations: 211.8 kB / 437.6 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1581, allocations: 4.359 kB / 437.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1582, allocations: 12.12 kB / 437.6 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1583, allocations: 49.67 kB / 437.7 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1584, allocations: 3.938 kB / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1584, allocations: 4 kB / 437.7 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1584, allocations: 4 kB / 437.7 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.1585, allocations: 19.98 kB / 437.7 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1589, allocations: 292.8 kB / 438 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1591, allocations: 62.61 kB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1592, allocations: 20.84 kB / 438.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1592, allocations: 0 / 438.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.1594, allocations: 67.39 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.1594, allocations: 4 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.16, allocations: 185 kB / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1601, allocations: 55.41 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1603, allocations: 255.7 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1604, allocations: 25.7 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.1604, allocations: 116.1 kB / 438.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1605, allocations: 27.59 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1605, allocations: 25.7 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1607, allocations: 330.8 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.1607, allocations: 16 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.1608, allocations: 45.58 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1609, allocations: 61.77 kB / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1609, allocations: 0 / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.1612, allocations: 113.4 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1612, allocations: 4 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1612, allocations: 0 / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1612, allocations: 4 kB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.1613, allocations: 12 kB / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1613, allocations: 384 / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.1614, allocations: 11.92 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1614, allocations: 8.031 kB / 439.4 MB, free: 14.51 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.0001114/0.1615, allocations: 129.8 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1616, allocations: 27.75 kB / 439.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.1616, allocations: 17.41 kB / 439.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1616, allocations: 3.984 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1616, allocations: 0 / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1616, allocations: 3.938 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1621, allocations: 403.2 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1621, allocations: 4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1622, allocations: 7.984 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1622, allocations: 4 kB / 440 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1622, allocations: 7.938 kB / 440 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1622, allocations: 0 / 440 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1622, allocations: 4 kB / 440 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1625, allocations: 200.3 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.154e-05/0.1625, allocations: 88.92 kB / 440.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1626, allocations: 11.92 kB / 440.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1627, allocations: 11.94 kB / 440.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1627, allocations: 4 kB / 440.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1627, allocations: 7.984 kB / 440.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1629, allocations: 199 kB / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1629, allocations: 0 / 440.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1632, allocations: 35.94 kB / 440.6 MB, free: 13.25 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.001009/0.1642, allocations: 457.4 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1644, allocations: 67.91 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1644, allocations: 0 / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.1645, allocations: 27.98 kB / 441.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1648, allocations: 31.86 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.1654, allocations: 321.5 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1657, allocations: 0.7121 MB / 442.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.1658, allocations: 20.88 kB / 442.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1658, allocations: 19.44 kB / 442.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1658, allocations: 0 / 442.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004606/0.1704, allocations: 1.666 MB / 443.9 MB, free: 9.922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)