Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 100.2 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.002007/0.002007, 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.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.3758/0.3758, allocations: 38.03 MB / 308.4 MB, free: 10.49 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.000734/0.0007341, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1298, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002849/0.1327, allocations: 1.362 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1343, allocations: 0.7459 MB / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1345, allocations: 0 / 436 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1348, allocations: 31.89 kB / 436.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1351, allocations: 39.83 kB / 436.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1355, allocations: 75.77 kB / 436.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1357, allocations: 59.88 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1358, allocations: 16.2 kB / 436.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.1359, allocations: 39.84 kB / 436.3 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.136, allocations: 23.84 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.136, allocations: 0 / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1361, allocations: 27.94 kB / 436.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.1362, allocations: 15.98 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.1362, allocations: 41.58 kB / 436.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1364, allocations: 84.09 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1364, allocations: 0 / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1364, allocations: 4 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1364, allocations: 0 / 436.5 MB, free: 3 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.0006084/0.137, allocations: 391 kB / 436.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1371, allocations: 8.031 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.1372, allocations: 15.84 kB / 436.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.1375, allocations: 206.8 kB / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1375, allocations: 0 / 437.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1375, allocations: 4 kB / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1377, allocations: 57.67 kB / 437.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1377, allocations: 3.938 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1377, allocations: 0 / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1378, allocations: 0 / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.1378, allocations: 23.94 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.1383, allocations: 288.8 kB / 437.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1385, allocations: 58.69 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1385, allocations: 0 / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.1388, allocations: 67.5 kB / 437.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1388, allocations: 3.938 kB / 437.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.1393, allocations: 165.3 kB / 437.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1394, allocations: 51.41 kB / 437.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1396, allocations: 182.2 kB / 438 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1397, allocations: 29.7 kB / 438 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1397, allocations: 100 kB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1398, allocations: 27.64 kB / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.1398, allocations: 0 / 438.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1399, allocations: 326.8 kB / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.14, allocations: 23.98 kB / 438.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.1401, allocations: 33.7 kB / 438.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.751e-05/0.1401, allocations: 24 kB / 438.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1401, allocations: 0 / 438.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.1403, allocations: 101.5 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1404, allocations: 11.59 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1404, allocations: 7.938 kB / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1404, allocations: 0 / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.1405, allocations: 12 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1405, allocations: 4 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.1406, allocations: 4.031 kB / 438.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1406, allocations: 4 kB / 438.7 MB, free: 0.5898 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 (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.0001366/0.1407, allocations: 130.8 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.1408, allocations: 7.906 kB / 438.8 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.1408, allocations: 16.7 kB / 438.8 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1408, allocations: 7.953 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1408, allocations: 0 / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1408, allocations: 0 / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1413, allocations: 391.2 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1413, allocations: 3.938 kB / 439.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1414, allocations: 11.95 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1414, allocations: 0 / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1414, allocations: 8 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1414, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1414, allocations: 3.984 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1417, allocations: 222.2 kB / 439.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.1417, allocations: 85.02 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1418, allocations: 0 / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1418, allocations: 11.98 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1419, allocations: 4 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1419, allocations: 4 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.142, allocations: 139.9 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.142, allocations: 0 / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1423, allocations: 20 kB / 439.7 MB, free: 15.43 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.001038/0.1433, allocations: 479.8 kB / 440.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1435, allocations: 55.91 kB / 440.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1435, allocations: 0 / 440.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.1436, allocations: 35.92 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1439, allocations: 23.94 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.1443, allocations: 222.2 kB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1446, allocations: 0.7082 MB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.023e-05/0.1447, allocations: 17.19 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1447, allocations: 23.42 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1447, allocations: 0 / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.004427/0.1492, allocations: 1.575 MB / 442.8 MB, free: 12.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) Environment - environmentSimulation: