Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 108 kB / 15.61 MB, free: 152 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.002024/0.002024, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.818/1.818, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3327/0.3327, allocations: 37.99 MB / 307.7 MB, free: 10.04 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.001511/0.001511, allocations: 72.12 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 56.47 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003896/0.15, allocations: 1.673 MB / 433.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1514, allocations: 0.813 MB / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1515, allocations: 0 / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1519, allocations: 39.78 kB / 434.2 MB, free: 4.074 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.0002252/0.1521, allocations: 55.75 kB / 434.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1524, allocations: 83.7 kB / 434.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1526, allocations: 95.69 kB / 434.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1527, allocations: 20.2 kB / 434.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.1528, allocations: 35.8 kB / 434.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.1529, allocations: 27.86 kB / 434.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1529, allocations: 7.984 kB / 434.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.153, allocations: 47.98 kB / 434.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.1531, allocations: 15.92 kB / 434.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.1531, allocations: 35.69 kB / 434.7 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1534, allocations: 115.9 kB / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1534, allocations: 0 / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1534, allocations: 0 / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1534, allocations: 0 / 434.8 MB, free: 3.543 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.0005986/0.154, allocations: 410.9 kB / 435.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.154, allocations: 15.89 kB / 435.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1541, allocations: 12.84 kB / 435.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1543, allocations: 212.8 kB / 435.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1544, allocations: 384 / 435.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1544, allocations: 12.06 kB / 435.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1546, allocations: 57.61 kB / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1546, allocations: 0 / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1546, allocations: 3.984 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1546, allocations: 0 / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.1547, allocations: 23.98 kB / 435.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1551, allocations: 288.8 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1553, allocations: 62.61 kB / 435.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1553, allocations: 20.84 kB / 435.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1554, allocations: 4 kB / 435.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1556, allocations: 67.39 kB / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1556, allocations: 0 / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005472/0.1561, allocations: 177.1 kB / 436.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1562, allocations: 59.41 kB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1564, allocations: 191.3 kB / 436.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1564, allocations: 25.7 kB / 436.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1565, allocations: 104.1 kB / 436.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1565, allocations: 27.66 kB / 436.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1566, allocations: 25.7 kB / 436.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1567, allocations: 334.8 kB / 436.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.1568, allocations: 16 kB / 436.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.1568, allocations: 37.64 kB / 436.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.157, allocations: 61.7 kB / 437 MB, free: 1.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.157, allocations: 4 kB / 437 MB, free: 1.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001811/0.1572, allocations: 93.53 kB / 437.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1572, allocations: 4 kB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1572, allocations: 7.984 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1572, allocations: 0 / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.1573, allocations: 12 kB / 437.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1573, allocations: 0 / 437.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1574, allocations: 15.84 kB / 437.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.1574, allocations: 4 kB / 437.1 MB, free: 0.9648 MB / 366.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.0001012/0.1575, allocations: 137.7 kB / 437.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1575, allocations: 11.91 kB / 437.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1576, allocations: 17.39 kB / 437.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1576, allocations: 0 / 437.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1576, allocations: 3.938 kB / 437.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1576, allocations: 3.938 kB / 437.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.1581, allocations: 395.5 kB / 437.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1581, allocations: 4.406 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1581, allocations: 8 kB / 437.7 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1581, allocations: 3.984 kB / 437.7 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1581, allocations: 11.94 kB / 437.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1582, allocations: 0 / 437.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1582, allocations: 0 / 437.7 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1584, allocations: 208.1 kB / 437.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.1585, allocations: 89.02 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1585, allocations: 3.938 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.1586, allocations: 7.984 kB / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1586, allocations: 8 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1586, allocations: 4 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1588, allocations: 148.9 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1588, allocations: 0 / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.159, allocations: 32.17 kB / 438.2 MB, free: 15.78 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.00108/0.1601, allocations: 464.9 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1603, allocations: 63.91 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1603, allocations: 0 / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.1604, allocations: 28 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1607, allocations: 47.03 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.1612, allocations: 231.2 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1615, allocations: 0.7119 MB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1616, allocations: 17.17 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.1616, allocations: 19.42 kB / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1616, allocations: 0 / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of Templates: time 0.004517/0.1661, allocations: 1.685 MB / 441.4 MB, free: 12.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)