Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001023/0.001023, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.4393/0.4393, allocations: 38.02 MB / 308.4 MB, free: 10.41 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.0006492/0.0006496, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1511, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002194/0.1534, allocations: 1.315 MB / 435.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1547, allocations: 0.7342 MB / 436 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1549, allocations: 0 / 436 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.1552, allocations: 71.83 kB / 436 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.1555, allocations: 67.78 kB / 436.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1559, allocations: 79.72 kB / 436.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1561, allocations: 71.84 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.1562, allocations: 7.984 kB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1563, allocations: 43.83 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1564, allocations: 35.84 kB / 436.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1565, allocations: 4 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1566, allocations: 19.98 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.1566, allocations: 23.91 kB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.1567, allocations: 37.64 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1569, allocations: 76.11 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1569, allocations: 4 kB / 436.5 MB, free: 2.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1569, allocations: 0 / 436.5 MB, free: 2.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1569, allocations: 0 / 436.5 MB, free: 2.977 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006305/0.1575, allocations: 402.8 kB / 436.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1576, allocations: 8.031 kB / 436.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.1577, allocations: 11.86 kB / 436.9 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.158, allocations: 207.5 kB / 437.1 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.158, allocations: 4 kB / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.158, allocations: 0 / 437.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1582, allocations: 53.67 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1582, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1582, allocations: 4 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1583, allocations: 3.984 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.1583, allocations: 19.94 kB / 437.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.1586, allocations: 177.7 kB / 437.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1588, allocations: 54.56 kB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1588, allocations: 4 kB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.159, allocations: 63.48 kB / 437.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/0.159, allocations: 0 / 437.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003281/0.1593, allocations: 109.3 kB / 437.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1594, allocations: 51.41 kB / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.1596, allocations: 214.3 kB / 437.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1597, allocations: 33.7 kB / 437.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.1598, allocations: 104.1 kB / 438 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1598, allocations: 15.75 kB / 438 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1598, allocations: 4 kB / 438 MB, free: 1.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.16, allocations: 326.8 kB / 438.3 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.16, allocations: 11.98 kB / 438.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.1601, allocations: 33.69 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.1602, allocations: 20 kB / 438.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1602, allocations: 0 / 438.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001659/0.1603, allocations: 81.53 kB / 438.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1604, allocations: 4 kB / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1604, allocations: 0 / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1604, allocations: 0 / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.1605, allocations: 15.98 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1605, allocations: 160 / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.1606, allocations: 32 / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1606, allocations: 19.94 kB / 438.5 MB, free: 0.7383 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.1607, allocations: 130.8 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1608, allocations: 11.81 kB / 438.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.1608, allocations: 16.98 kB / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1608, allocations: 0 / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1608, allocations: 4 kB / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1608, allocations: 0 / 438.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.161, allocations: 185.6 kB / 438.9 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.161, allocations: 0 / 438.9 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.1611, allocations: 8 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1611, allocations: 0 / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1611, allocations: 3.984 kB / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1611, allocations: 0 / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1611, allocations: 0 / 438.9 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1613, allocations: 113.3 kB / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1614, allocations: 84.92 kB / 439.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1614, allocations: 4 kB / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.1614, allocations: 8 kB / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1615, allocations: 15.92 kB / 439.1 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1615, allocations: 0 / 439.1 MB, free: 64 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1617, allocations: 156.2 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1617, allocations: 0 / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1619, allocations: 23.98 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009817/0.1629, allocations: 407.6 kB / 439.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1631, allocations: 39.98 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1631, allocations: 0 / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1632, allocations: 23.94 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1635, allocations: 36.05 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.164, allocations: 225.2 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1643, allocations: 0.7121 MB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.1644, allocations: 16.55 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1644, allocations: 15.44 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1644, allocations: 3.938 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.004727/0.1691, allocations: 1.376 MB / 442.1 MB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) Environment - environmentSimulation: