Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005369/0.005369, allocations: 102.7 kB / 15.73 MB, free: 6.062 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.001188/0.001188, allocations: 195.8 kB / 16.67 MB, free: 5.98 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.649/1.649, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.2337/0.2337, allocations: 39.97 MB / 309.9 MB, free: 4.016 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.001302/0.001302, allocations: 77.45 kB / 435.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 56.88 MB / 492.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003823/0.1504, allocations: 1.691 MB / 494.4 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.152, allocations: 0.8013 MB / 495.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1522, allocations: 3.938 kB / 495.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004758/0.1526, allocations: 79.77 kB / 495.3 MB, free: 108 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.0002822/0.1529, allocations: 91.58 kB / 495.4 MB, free: 16 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1532, allocations: 79.77 kB / 495.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1535, allocations: 111.7 kB / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1536, allocations: 20.2 kB / 495.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1538, allocations: 51.77 kB / 495.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1539, allocations: 59.81 kB / 495.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1539, allocations: 4 kB / 495.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1541, allocations: 43.98 kB / 495.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.1541, allocations: 27.86 kB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.1542, allocations: 35.73 kB / 495.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1544, allocations: 119.6 kB / 495.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1544, allocations: 4 kB / 495.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1544, allocations: 0 / 495.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1545, allocations: 0 / 495.9 MB, free: 15.47 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.0006077/0.1551, allocations: 426.8 kB / 496.3 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1551, allocations: 15.89 kB / 496.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1552, allocations: 8.844 kB / 496.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1555, allocations: 219.9 kB / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1556, allocations: 384 / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1556, allocations: 12.12 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1558, allocations: 57.66 kB / 496.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1558, allocations: 0 / 496.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1558, allocations: 0 / 496.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1558, allocations: 4 kB / 496.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.1559, allocations: 15.98 kB / 496.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.1563, allocations: 300.8 kB / 497 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1565, allocations: 58.67 kB / 497 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1566, allocations: 20.84 kB / 497 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1566, allocations: 0 / 497 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.1568, allocations: 67.39 kB / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.1568, allocations: 0 / 497.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005877/0.1574, allocations: 185.1 kB / 497.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1574, allocations: 55.41 kB / 497.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1576, allocations: 219.4 kB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1576, allocations: 25.7 kB / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.1577, allocations: 108.1 kB / 497.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1578, allocations: 23.7 kB / 497.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1578, allocations: 25.72 kB / 497.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.158, allocations: 326.8 kB / 498.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.1581, allocations: 27.98 kB / 498.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.1581, allocations: 37.64 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1583, allocations: 61.69 kB / 498.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1583, allocations: 0 / 498.2 MB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001875/0.1585, allocations: 101.4 kB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1585, allocations: 8 kB / 498.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1585, allocations: 4.031 kB / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1585, allocations: 0 / 498.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.1586, allocations: 19.92 kB / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.1586, allocations: 4 kB / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.1587, allocations: 3.938 kB / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1587, allocations: 4 kB / 498.3 MB, free: 12.83 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.0001036/0.1588, allocations: 141.6 kB / 498.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1588, allocations: 15.81 kB / 498.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.1589, allocations: 21.39 kB / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1589, allocations: 0 / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1589, allocations: 0 / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1589, allocations: 3.938 kB / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1594, allocations: 395.3 kB / 498.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1594, allocations: 0 / 498.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1595, allocations: 15.98 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1595, allocations: 0 / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1595, allocations: 3.938 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1595, allocations: 8.031 kB / 498.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1595, allocations: 0 / 498.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1597, allocations: 200.2 kB / 499.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1598, allocations: 88.92 kB / 499.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1598, allocations: 3.938 kB / 499.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.1599, allocations: 7.984 kB / 499.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1599, allocations: 8.375 kB / 499.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.16, allocations: 4 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1601, allocations: 171.5 kB / 499.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 499.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1604, allocations: 20 kB / 499.4 MB, free: 11.64 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.001121/0.1615, allocations: 494.4 kB / 499.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1617, allocations: 47.98 kB / 499.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1617, allocations: 4 kB / 499.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.1618, allocations: 31.92 kB / 500 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1622, allocations: 39.19 kB / 0.4883 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.1627, allocations: 255 kB / 0.4885 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.163, allocations: 0.7119 MB / 0.4892 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.658e-05/0.1631, allocations: 17.17 kB / 0.4892 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1631, allocations: 15.44 kB / 0.4893 GB, free: 10.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1631, allocations: 0 / 0.4893 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Templates: time 0.004761/0.1679, allocations: 1.739 MB / 0.491 GB, free: 8.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)