Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 98.92 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.001359/0.00136, 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.968/1.968, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3542/0.3542, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005673/0.0005674, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00204/0.1375, allocations: 1.331 MB / 435.3 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1387, allocations: 0.7264 MB / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.1388, allocations: 0 / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1392, allocations: 55.84 kB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1394, allocations: 59.73 kB / 436.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1397, allocations: 63.86 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1399, allocations: 63.84 kB / 436.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.1399, allocations: 11.98 kB / 436.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.245e-05/0.14, allocations: 43.83 kB / 436.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.1401, allocations: 35.83 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1402, allocations: 0 / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.1402, allocations: 20 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.1403, allocations: 15.92 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1403, allocations: 41.58 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1405, allocations: 80.09 kB / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1405, allocations: 0 / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1405, allocations: 4 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1406, allocations: 0 / 436.5 MB, free: 3.012 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.0006723/0.1412, allocations: 390.9 kB / 436.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.1413, allocations: 8.031 kB / 436.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.1414, allocations: 11.86 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1416, allocations: 198.9 kB / 437.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1417, allocations: 0 / 437.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1417, allocations: 7.938 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1419, allocations: 53.67 kB / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1419, allocations: 0 / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1419, allocations: 0 / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1419, allocations: 0 / 437.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.142, allocations: 15.94 kB / 437.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.1423, allocations: 185.6 kB / 437.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1424, allocations: 54.56 kB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1425, allocations: 4 kB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1427, allocations: 63.48 kB / 437.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1427, allocations: 0 / 437.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000305/0.143, allocations: 85.58 kB / 437.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1431, allocations: 67.33 kB / 437.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1432, allocations: 178.2 kB / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1433, allocations: 25.7 kB / 437.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.1434, allocations: 108.1 kB / 437.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1434, allocations: 15.8 kB / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.1434, allocations: 0 / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1435, allocations: 330.8 kB / 438.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.1436, allocations: 15.98 kB / 438.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.1437, allocations: 21.72 kB / 438.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.1437, allocations: 19.98 kB / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1437, allocations: 0 / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001474/0.1439, allocations: 81.78 kB / 438.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1439, allocations: 8 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1439, allocations: 0 / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1439, allocations: 64 / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.144, allocations: 15.98 kB / 438.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.144, allocations: 4 kB / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.1441, allocations: 0 / 438.4 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1441, allocations: 7.953 kB / 438.4 MB, free: 0.8516 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.0001124/0.1442, allocations: 126.9 kB / 438.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.1443, allocations: 11.84 kB / 438.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.1443, allocations: 12.31 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1443, allocations: 7.938 kB / 438.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1443, allocations: 3.984 kB / 438.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1443, allocations: 0 / 438.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1445, allocations: 193.4 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1445, allocations: 4 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.1445, allocations: 0 / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1445, allocations: 4 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1445, allocations: 4 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1446, allocations: 0 / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1446, allocations: 0 / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1447, allocations: 109 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1448, allocations: 85.02 kB / 439 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.1448, allocations: 3.984 kB / 439 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.1449, allocations: 12 kB / 439 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1449, allocations: 0 / 439 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1449, allocations: 4 kB / 439 MB, free: 188 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1451, allocations: 148 kB / 439.1 MB, free: 40 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1451, allocations: 0 / 439.1 MB, free: 40 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1453, allocations: 16 kB / 439.1 MB, free: 24 kB / 366.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.001042/0.1463, allocations: 417.7 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.1465, allocations: 43.97 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1465, allocations: 0 / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1466, allocations: 23.94 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.1468, allocations: 27.92 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.1473, allocations: 205.3 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1476, allocations: 0.6965 MB / 440.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.1477, allocations: 20.39 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.1477, allocations: 15.44 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1477, allocations: 3.938 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.004943/0.1527, allocations: 1.372 MB / 441.9 MB, free: 13.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) Environment - environmentSimulation: