Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005983/0.005983, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001516/0.001516, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2163/0.2163, allocations: 39.97 MB / 309.9 MB, free: 4.008 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.001501/0.001501, allocations: 71.89 kB / 435.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1458, allocations: 56.88 MB / 492.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003359/0.1492, allocations: 1.695 MB / 494.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1506, allocations: 0.8013 MB / 495.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.308e-05/0.1507, allocations: 4 kB / 495.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.151, allocations: 43.77 kB / 495.3 MB, free: 132 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1513, allocations: 55.69 kB / 495.3 MB, free: 76 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1516, allocations: 79.83 kB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1517, allocations: 99.62 kB / 495.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1519, allocations: 16.22 kB / 495.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.152, allocations: 43.78 kB / 495.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.1521, allocations: 31.78 kB / 495.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1521, allocations: 4 kB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1522, allocations: 43.98 kB / 495.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.1523, allocations: 15.92 kB / 495.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1524, allocations: 39.72 kB / 495.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1526, allocations: 103.7 kB / 495.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1526, allocations: 8 kB / 495.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1526, allocations: 0 / 495.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1526, allocations: 0 / 495.8 MB, free: 15.6 MB / 382.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.0006383/0.1533, allocations: 418.9 kB / 496.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1533, allocations: 11.89 kB / 496.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1534, allocations: 8.844 kB / 496.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1537, allocations: 212 kB / 496.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1537, allocations: 4.375 kB / 496.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1537, allocations: 4.125 kB / 496.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1539, allocations: 53.67 kB / 496.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1539, allocations: 4 kB / 496.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.154, allocations: 0 / 496.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.154, allocations: 4 kB / 496.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.1541, allocations: 19.92 kB / 496.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1545, allocations: 292.8 kB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1548, allocations: 54.67 kB / 496.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.1548, allocations: 24.86 kB / 496.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.1549, allocations: 3.938 kB / 496.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.155, allocations: 71.31 kB / 497 MB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1551, allocations: 0 / 497 MB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006509/0.1557, allocations: 177.1 kB / 497.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1558, allocations: 59.41 kB / 497.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.156, allocations: 182.2 kB / 497.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.156, allocations: 29.7 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.1561, allocations: 104.1 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1562, allocations: 23.66 kB / 497.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1562, allocations: 21.7 kB / 497.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1564, allocations: 326.8 kB / 497.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.1565, allocations: 20 kB / 497.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.1565, allocations: 41.64 kB / 497.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1567, allocations: 65.64 kB / 498 MB, free: 13.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1567, allocations: 0 / 498 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1569, allocations: 101.5 kB / 498.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1569, allocations: 8 kB / 498.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1569, allocations: 0 / 498.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1569, allocations: 0 / 498.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.157, allocations: 12.03 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.157, allocations: 8 kB / 498.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.1571, allocations: 11.92 kB / 498.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1571, allocations: 4 kB / 498.1 MB, free: 13.03 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.0001101/0.1572, allocations: 121.8 kB / 498.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1572, allocations: 11.81 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.1573, allocations: 16.7 kB / 498.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1573, allocations: 4 kB / 498.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1573, allocations: 0 / 498.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1573, allocations: 7.938 kB / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.1578, allocations: 383.3 kB / 498.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1578, allocations: 4 kB / 498.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.1578, allocations: 7.938 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1578, allocations: 7.984 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1579, allocations: 7.938 kB / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1579, allocations: 0 / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1579, allocations: 4 kB / 498.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1581, allocations: 204.2 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1582, allocations: 84.92 kB / 499 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1582, allocations: 15.92 kB / 499 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.1583, allocations: 4.359 kB / 499 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1583, allocations: 7.938 kB / 499 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1584, allocations: 4 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1585, allocations: 152 kB / 499.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1585, allocations: 0 / 499.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.1588, allocations: 24 kB / 499.2 MB, free: 11.87 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.001094/0.1599, allocations: 470.4 kB / 499.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1601, allocations: 59.92 kB / 499.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1601, allocations: 0 / 499.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1602, allocations: 23.98 kB / 499.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1606, allocations: 35.39 kB / 499.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.1611, allocations: 227.1 kB / 500 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1615, allocations: 0.7042 MB / 0.4889 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.1615, allocations: 12.88 kB / 0.4889 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.1616, allocations: 15.44 kB / 0.489 GB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1616, allocations: 0 / 0.489 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.004989/0.1666, allocations: 1.732 MB / 0.4907 GB, free: 8.598 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)