Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 99.55 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.001518/0.001518, 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.854/1.854, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.3936/0.3936, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0006162/0.0006163, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1406, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001984/0.1427, allocations: 1.362 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1439, allocations: 0.742 MB / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.144, allocations: 0 / 436 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1443, allocations: 27.91 kB / 436.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1445, allocations: 47.81 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1447, allocations: 79.77 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1449, allocations: 55.88 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.145, allocations: 24.17 kB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.1451, allocations: 35.86 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.1451, allocations: 31.84 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1452, allocations: 3.938 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.1452, allocations: 31.92 kB / 436.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.1453, allocations: 15.98 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.1454, allocations: 41.58 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1455, allocations: 92.08 kB / 436.5 MB, free: 2.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1455, allocations: 4 kB / 436.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1455, allocations: 0 / 436.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1455, allocations: 3.938 kB / 436.5 MB, free: 2.969 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.0005032/0.1461, allocations: 402.9 kB / 436.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1461, allocations: 12.02 kB / 436.9 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1462, allocations: 15.86 kB / 436.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1464, allocations: 210.8 kB / 437.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1464, allocations: 0 / 437.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1465, allocations: 7.984 kB / 437.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1466, allocations: 53.67 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1466, allocations: 7.938 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1466, allocations: 0 / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1466, allocations: 3.938 kB / 437.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.1467, allocations: 23.94 kB / 437.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1471, allocations: 284.9 kB / 437.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1473, allocations: 62.67 kB / 437.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1473, allocations: 3.938 kB / 437.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1475, allocations: 71.52 kB / 437.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1475, allocations: 0 / 437.7 MB, free: 1.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005482/0.1481, allocations: 185 kB / 437.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1481, allocations: 55.41 kB / 437.9 MB, free: 1.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1483, allocations: 218.7 kB / 438.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1483, allocations: 29.7 kB / 438.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.1484, allocations: 108.1 kB / 438.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1485, allocations: 23.66 kB / 438.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1485, allocations: 0 / 438.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1486, allocations: 322.8 kB / 438.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.1487, allocations: 23.98 kB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.1487, allocations: 37.7 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.1488, allocations: 23.94 kB / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1488, allocations: 0 / 438.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.149, allocations: 105.7 kB / 438.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.149, allocations: 4 kB / 438.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.149, allocations: 7.891 kB / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.149, allocations: 0 / 438.8 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.1491, allocations: 19.94 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1492, allocations: 4.031 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1492, allocations: 7.984 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1492, allocations: 0 / 438.8 MB, free: 464 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 ($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 (10): * Single equations (assignments): 10 * 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.0001325/0.1494, allocations: 130.9 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.1494, allocations: 11.91 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.1494, allocations: 13.41 kB / 439 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1495, allocations: 7.953 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1495, allocations: 0 / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1495, allocations: 4 kB / 439 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.15, allocations: 403.2 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.15, allocations: 3.938 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.15, allocations: 11.95 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.15, allocations: 0 / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.15, allocations: 7.984 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.15, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1501, allocations: 3.938 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1503, allocations: 222 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1504, allocations: 88.92 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1504, allocations: 8 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.1505, allocations: 3.984 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1505, allocations: 4.375 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1505, allocations: 8 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1507, allocations: 172.3 kB / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1507, allocations: 0 / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1509, allocations: 28 kB / 439.9 MB, free: 15.23 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 (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.001048/0.152, allocations: 477 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1522, allocations: 55.97 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1522, allocations: 0 / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.1522, allocations: 31.92 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1525, allocations: 24.12 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.153, allocations: 274.5 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1533, allocations: 0.716 MB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.668e-05/0.1533, allocations: 8.891 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.1534, allocations: 19.42 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1534, allocations: 0 / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.00421/0.1576, allocations: 1.603 MB / 443.1 MB, free: 12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) Environment - environmentSimulation: