Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001024, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009749/0.00975, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.727/1.727, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4624/0.4624, allocations: 40.01 MB / 310.7 MB, free: 9.941 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.0005839/0.0005839, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 57.96 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002442/0.1477, allocations: 1.413 MB / 438.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1492, allocations: 0.7729 MB / 439.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1494, allocations: 0 / 439.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1497, allocations: 39.83 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.15, allocations: 43.84 kB / 439.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1504, allocations: 83.83 kB / 439.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1506, allocations: 87.7 kB / 439.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1507, allocations: 20.2 kB / 439.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1509, allocations: 43.77 kB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.151, allocations: 23.86 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.151, allocations: 4 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1511, allocations: 39.92 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.1512, allocations: 19.91 kB / 440 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1513, allocations: 53.45 kB / 440.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1515, allocations: 115.9 kB / 440.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1515, allocations: 0 / 440.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1515, allocations: 4 kB / 440.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1516, allocations: 0 / 440.2 MB, free: 15.41 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.0005843/0.1522, allocations: 395.1 kB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1522, allocations: 12.03 kB / 440.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1523, allocations: 8.844 kB / 440.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1525, allocations: 212 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1525, allocations: 4.375 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1526, allocations: 4.125 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1527, allocations: 61.67 kB / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1528, allocations: 0 / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1528, allocations: 0 / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1528, allocations: 0 / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.1529, allocations: 19.98 kB / 440.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.1533, allocations: 284.8 kB / 441.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1535, allocations: 66.61 kB / 441.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.1535, allocations: 16.86 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1536, allocations: 3.984 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1538, allocations: 75.3 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.1538, allocations: 3.938 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005274/0.1543, allocations: 157.4 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1544, allocations: 59.39 kB / 441.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1546, allocations: 186.1 kB / 441.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1546, allocations: 33.7 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.1547, allocations: 104.1 kB / 441.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1547, allocations: 19.72 kB / 441.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1548, allocations: 17.64 kB / 441.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1549, allocations: 330.8 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.155, allocations: 16 kB / 442.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.155, allocations: 41.7 kB / 442.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1552, allocations: 61.69 kB / 442.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1552, allocations: 0 / 442.3 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1554, allocations: 97.52 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1554, allocations: 8 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.1554, allocations: 0 / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1554, allocations: 4.031 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.1555, allocations: 19.94 kB / 442.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1555, allocations: 4 kB / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1556, allocations: 7.922 kB / 442.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1556, allocations: 4 kB / 442.5 MB, free: 12.88 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.0001146/0.1557, allocations: 121.8 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.1558, allocations: 11.91 kB / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.1558, allocations: 16.7 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1558, allocations: 4 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1558, allocations: 0 / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.1559, allocations: 3.938 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1564, allocations: 391.2 kB / 443 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1564, allocations: 0 / 443 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1564, allocations: 12 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1564, allocations: 3.984 kB / 443 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1564, allocations: 7.938 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1565, allocations: 3.969 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1565, allocations: 4 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1567, allocations: 204.2 kB / 443.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.1568, allocations: 88.92 kB / 443.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1568, allocations: 7.922 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1569, allocations: 4 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1569, allocations: 12 kB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1569, allocations: 8.359 kB / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1571, allocations: 140.1 kB / 443.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 0 / 443.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1573, allocations: 23.98 kB / 443.5 MB, free: 11.73 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.001112/0.1585, allocations: 480.8 kB / 444 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1587, allocations: 55.97 kB / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1587, allocations: 0 / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.1588, allocations: 35.92 kB / 444.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1592, allocations: 27.91 kB / 444.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.1597, allocations: 242.8 kB / 444.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1601, allocations: 0.7083 MB / 445 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.1601, allocations: 12.88 kB / 445 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1602, allocations: 15.44 kB / 445.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1602, allocations: 0 / 445.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004682/0.1649, allocations: 1.612 MB / 446.7 MB, free: 8.527 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) Environment - environmentSimulation: