Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001785, 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.001757/0.001757, allocations: 188.7 kB / 16.25 MB, free: 6.59 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.58/1.58, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.308/0.308, allocations: 37.98 MB / 307.4 MB, free: 10.17 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.001302/0.001303, allocations: 74.23 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.005245/0.134, allocations: 1.825 MB / 433 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.1364, allocations: 0.8702 MB / 433.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.1366, allocations: 3.938 kB / 433.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.1375, allocations: 295.4 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.1382, allocations: 191.5 kB / 434.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006337/0.1388, allocations: 127.7 kB / 434.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.1394, allocations: 243.3 kB / 434.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.1395, allocations: 17.55 kB / 434.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.1399, allocations: 127.5 kB / 434.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.1403, allocations: 200 kB / 435.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1403, allocations: 7.938 kB / 435.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.1406, allocations: 51.97 kB / 435.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.1408, allocations: 128.6 kB / 435.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.141, allocations: 142.8 kB / 435.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.1416, allocations: 355 kB / 435.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1417, allocations: 7.875 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1417, allocations: 0 / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1417, allocations: 4 kB / 435.8 MB, free: 2.379 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001505/0.1432, allocations: 0.7114 MB / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.1433, allocations: 11.89 kB / 436.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.1434, allocations: 48.28 kB / 436.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.1443, allocations: 439.9 kB / 437 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1443, allocations: 384 / 437 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.1443, allocations: 8.125 kB / 437 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.1447, allocations: 87.31 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1447, allocations: 0 / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1447, allocations: 3.984 kB / 437.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1447, allocations: 4 kB / 437.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1449, allocations: 31.92 kB / 437.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.1455, allocations: 374.3 kB / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.1459, allocations: 109.2 kB / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1461, allocations: 41.64 kB / 437.6 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1461, allocations: 0 / 437.6 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/0.1466, allocations: 117 kB / 437.7 MB, free: 224 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.414e-06/0.1466, allocations: 0 / 437.7 MB, free: 224 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000742/0.1474, allocations: 196.9 kB / 437.9 MB, free: 20 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1475, allocations: 77.11 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.1492, allocations: 1.003 MB / 439 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1492, allocations: 33.7 kB / 439 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.1495, allocations: 228.1 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.1496, allocations: 31.64 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.1497, allocations: 33.66 kB / 439.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.15, allocations: 362.8 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1501, allocations: 27.98 kB / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1503, allocations: 67.34 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1506, allocations: 87.92 kB / 439.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1506, allocations: 3.938 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004746/0.1511, allocations: 168.9 kB / 440 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1511, allocations: 4 kB / 440 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1511, allocations: 8.062 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1512, allocations: 0 / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1513, allocations: 23.98 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1514, allocations: 3.938 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1515, allocations: 11.91 kB / 440.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.1516, allocations: 4 kB / 440.1 MB, free: 13.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003241/0.1519, allocations: 217.7 kB / 440.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.152, allocations: 47.44 kB / 440.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.1522, allocations: 63.84 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1522, allocations: 4 kB / 440.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1522, allocations: 0 / 440.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1522, allocations: 3.984 kB / 440.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1527, allocations: 341.3 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1528, allocations: 4 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.1528, allocations: 4 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1528, allocations: 3.938 kB / 440.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.1529, allocations: 8 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.1529, allocations: 3.938 kB / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1529, allocations: 0 / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.1534, allocations: 209.2 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1536, allocations: 132.5 kB / 441.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.1537, allocations: 4.125 kB / 441.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1538, allocations: 12 kB / 441.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.1539, allocations: 7.984 kB / 441.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1539, allocations: 8 kB / 441.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.1551, allocations: 0.7487 MB / 441.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1551, allocations: 0 / 441.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.1556, allocations: 43.98 kB / 441.9 MB, free: 11.84 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001505/0.1571, allocations: 410.9 kB / 442.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.1576, allocations: 87.84 kB / 442.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1576, allocations: 4.125 kB / 442.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.1578, allocations: 40.34 kB / 442.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.1586, allocations: 74.14 kB / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1608, allocations: 0.9484 MB / 443.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.1615, allocations: 0.8349 MB / 444.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.1617, allocations: 54.94 kB / 444.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1619, allocations: 31.44 kB / 444.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1619, allocations: 4 kB / 444.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of Templates: time 0.01418/0.1761, allocations: 3.625 MB / 448 MB, free: 5.703 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)