Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.78/1.78, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3677/0.3677, allocations: 39.93 MB / 309.7 MB, free: 9.258 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.001706/0.001706, allocations: 71.91 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 56.88 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003416/0.1501, allocations: 1.689 MB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1516, allocations: 0.8054 MB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.1517, allocations: 0 / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1521, allocations: 47.75 kB / 437 MB, free: 1.105 MB / 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.0002576/0.1524, allocations: 47.77 kB / 437.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1527, allocations: 79.77 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1529, allocations: 99.69 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.153, allocations: 12.22 kB / 437.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1532, allocations: 43.78 kB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1533, allocations: 31.78 kB / 437.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1533, allocations: 4 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1535, allocations: 43.98 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1536, allocations: 23.92 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.1537, allocations: 35.73 kB / 437.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1539, allocations: 115.9 kB / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1539, allocations: 0 / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1539, allocations: 0 / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.154, allocations: 0 / 437.6 MB, free: 0.5781 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.0008481/0.1548, allocations: 426.8 kB / 438 MB, free: 116 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.1549, allocations: 11.89 kB / 438 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.155, allocations: 12.84 kB / 438 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.1553, allocations: 212.7 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1554, allocations: 4.375 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1554, allocations: 12.12 kB / 438.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1556, allocations: 53.67 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1556, allocations: 0 / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1557, allocations: 3.938 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1557, allocations: 0 / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.1558, allocations: 23.92 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.1563, allocations: 284.9 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1565, allocations: 58.67 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.1566, allocations: 20.86 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1566, allocations: 3.984 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.1569, allocations: 71.31 kB / 438.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1569, allocations: 0 / 438.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005865/0.1575, allocations: 173.2 kB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1575, allocations: 55.41 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.1577, allocations: 195.3 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1578, allocations: 25.7 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.1578, allocations: 108.1 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.1579, allocations: 23.7 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1579, allocations: 17.72 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1581, allocations: 334.8 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.1581, allocations: 23.98 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.1582, allocations: 33.7 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1583, allocations: 65.64 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1583, allocations: 0 / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1585, allocations: 97.48 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1586, allocations: 8.031 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1586, allocations: 7.938 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1586, allocations: 3.938 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.1587, allocations: 15.98 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1587, allocations: 4 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1588, allocations: 4.312 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1588, allocations: 8.156 kB / 439.9 MB, free: 13.99 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.0001013/0.1589, allocations: 125.8 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1589, allocations: 11.91 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.159, allocations: 25.38 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.159, allocations: 0 / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.159, allocations: 4 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.159, allocations: 7.922 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.1595, allocations: 395.2 kB / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1595, allocations: 192 / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.1595, allocations: 11.94 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1595, allocations: 7.938 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1595, allocations: 11.97 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1595, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1596, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1598, allocations: 196.3 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.1598, allocations: 88.92 kB / 440.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1599, allocations: 11.94 kB / 440.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.1599, allocations: 4 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.16, allocations: 7.984 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.16, allocations: 4 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1601, allocations: 156.9 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1601, allocations: 3.938 kB / 441 MB, free: 12.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1604, allocations: 20 kB / 441 MB, free: 12.8 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.001117/0.1615, allocations: 469.9 kB / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1617, allocations: 55.92 kB / 441.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1617, allocations: 0 / 441.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.1618, allocations: 31.98 kB / 441.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1622, allocations: 35.11 kB / 441.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.1627, allocations: 235.2 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1631, allocations: 0.7041 MB / 442.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.1631, allocations: 21.17 kB / 442.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.1632, allocations: 19.44 kB / 442.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1632, allocations: 3.938 kB / 442.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of Templates: time 0.004512/0.1677, allocations: 1.696 MB / 444.2 MB, free: 9.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)