Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 108 kB / 15.6 MB, free: 128 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.00152/0.001519, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.665/1.665, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3547/0.3547, allocations: 37.99 MB / 307.7 MB, free: 9.988 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.001503/0.001503, allocations: 71.89 kB / 375.3 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1486, allocations: 56.47 MB / 431.7 MB, free: 6.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003753/0.1524, allocations: 1.666 MB / 433.4 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.154, allocations: 0.8014 MB / 434.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1541, allocations: 0 / 434.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.1546, allocations: 119.6 kB / 434.3 MB, free: 3.98 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.0002739/0.1549, allocations: 79.72 kB / 434.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1552, allocations: 91.62 kB / 434.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1554, allocations: 115.7 kB / 434.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1556, allocations: 24.2 kB / 434.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.1557, allocations: 55.77 kB / 434.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1558, allocations: 63.8 kB / 434.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1558, allocations: 4 kB / 434.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.156, allocations: 36 kB / 434.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.156, allocations: 35.89 kB / 434.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.1561, allocations: 39.62 kB / 434.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1563, allocations: 135.8 kB / 435 MB, free: 3.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1564, allocations: 0 / 435 MB, free: 3.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1564, allocations: 0 / 435 MB, free: 3.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1564, allocations: 0 / 435 MB, free: 3.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006515/0.157, allocations: 446.7 kB / 435.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1571, allocations: 15.89 kB / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.1572, allocations: 16.75 kB / 435.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1574, allocations: 219.8 kB / 435.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1575, allocations: 4.375 kB / 435.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1575, allocations: 8.125 kB / 435.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1577, allocations: 65.59 kB / 435.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1577, allocations: 0 / 435.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1577, allocations: 4 kB / 435.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1577, allocations: 0 / 435.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.1578, allocations: 27.98 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1583, allocations: 304.8 kB / 436.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1585, allocations: 70.62 kB / 436.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.1586, allocations: 28.84 kB / 436.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1586, allocations: 4 kB / 436.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.159, allocations: 75.38 kB / 436.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.159, allocations: 0 / 436.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000627/0.1596, allocations: 205 kB / 436.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1597, allocations: 55.41 kB / 436.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1599, allocations: 250.5 kB / 436.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.16, allocations: 29.7 kB / 436.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.16, allocations: 108.2 kB / 436.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.1601, allocations: 35.66 kB / 436.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1601, allocations: 29.7 kB / 436.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1603, allocations: 330.8 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.1603, allocations: 27.92 kB / 437.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1604, allocations: 41.7 kB / 437.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1606, allocations: 69.7 kB / 437.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1606, allocations: 3.938 kB / 437.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001923/0.1608, allocations: 109.4 kB / 437.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1608, allocations: 11.98 kB / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1608, allocations: 0 / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1608, allocations: 0 / 437.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1609, allocations: 16 kB / 437.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.161, allocations: 4.031 kB / 437.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.161, allocations: 15.92 kB / 437.6 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1611, allocations: 0 / 437.6 MB, free: 500 kB / 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 (11): * Single equations (assignments): 11 * 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.0001172/0.1612, allocations: 133.8 kB / 437.7 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1612, allocations: 19.75 kB / 437.7 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1613, allocations: 13.41 kB / 437.7 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1613, allocations: 4 kB / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1613, allocations: 0 / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1613, allocations: 15.91 kB / 437.7 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.1618, allocations: 415.3 kB / 438.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1618, allocations: 0 / 438.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.1619, allocations: 12 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1619, allocations: 0 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1619, allocations: 11.92 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1619, allocations: 4.094 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1619, allocations: 3.938 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1622, allocations: 220.2 kB / 438.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1623, allocations: 88.92 kB / 438.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1623, allocations: 7.922 kB / 438.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.1624, allocations: 8 kB / 438.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1624, allocations: 4 kB / 438.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1624, allocations: 7.984 kB / 438.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003058/0.1628, allocations: 192.2 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 3.938 kB / 438.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.163, allocations: 24 kB / 438.7 MB, free: 15.22 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 (9): * Single equations (assignments): 7 * 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.001178/0.1642, allocations: 469.6 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1645, allocations: 67.91 kB / 439.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1645, allocations: 0 / 439.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.1646, allocations: 31.98 kB / 439.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.165, allocations: 43.22 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.1655, allocations: 283.9 kB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1659, allocations: 0.7197 MB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.1659, allocations: 16.64 kB / 440.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.166, allocations: 15.44 kB / 440.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.166, allocations: 4 kB / 440.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of Templates: time 0.005231/0.1712, allocations: 1.802 MB / 442.1 MB, free: 11.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)