Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.001651, 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.002094/0.002094, 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.943/1.943, 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.3688/0.3688, 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.000662/0.0006621, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1313, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00212/0.1334, allocations: 1.358 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1347, allocations: 0.7381 MB / 436 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.1348, allocations: 0 / 436 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1351, allocations: 23.91 kB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1353, allocations: 51.81 kB / 436.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1356, allocations: 71.78 kB / 436.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1357, allocations: 59.84 kB / 436.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.1358, allocations: 16.22 kB / 436.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.1359, allocations: 31.86 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.136, allocations: 23.84 kB / 436.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.136, allocations: 4 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.051e-05/0.1361, allocations: 31.92 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.1362, allocations: 19.97 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.1362, allocations: 41.58 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1364, allocations: 76.11 kB / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1364, allocations: 0 / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1364, allocations: 0 / 436.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1364, allocations: 3.938 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005283/0.137, allocations: 391 kB / 436.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.137, allocations: 8.031 kB / 436.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1371, allocations: 15.86 kB / 436.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1373, allocations: 203.4 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1374, allocations: 4 kB / 437.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1374, allocations: 0 / 437.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1376, allocations: 57.67 kB / 437.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1376, allocations: 3.938 kB / 437.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1376, allocations: 4 kB / 437.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1376, allocations: 0 / 437.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.1377, allocations: 19.94 kB / 437.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.1381, allocations: 288.8 kB / 437.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1383, allocations: 54.69 kB / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1383, allocations: 0 / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1385, allocations: 71.5 kB / 437.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1385, allocations: 0 / 437.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005653/0.1391, allocations: 173.2 kB / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1391, allocations: 55.41 kB / 437.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1393, allocations: 155 kB / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1393, allocations: 29.7 kB / 438 MB, free: 1.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1394, allocations: 104.1 kB / 438.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1394, allocations: 27.62 kB / 438.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1394, allocations: 4 kB / 438.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1396, allocations: 322.8 kB / 438.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.1396, allocations: 23.98 kB / 438.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.1397, allocations: 33.7 kB / 438.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.1398, allocations: 20 kB / 438.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1398, allocations: 0 / 438.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.14, allocations: 97.52 kB / 438.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.14, allocations: 12.03 kB / 438.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.14, allocations: 3.953 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.14, allocations: 3.984 kB / 438.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.1401, allocations: 19.98 kB / 438.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1401, allocations: 4 kB / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1402, allocations: 0 / 438.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1402, allocations: 4.188 kB / 438.6 MB, free: 0.6172 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.0001244/0.1403, allocations: 122.8 kB / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.1404, allocations: 11.84 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.1404, allocations: 20.7 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1404, allocations: 3.953 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1404, allocations: 0 / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1404, allocations: 0 / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.1408, allocations: 391.2 kB / 439.2 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1409, allocations: 3.938 kB / 439.2 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.1409, allocations: 8.562 kB / 439.2 MB, free: 0 / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/0.1409, allocations: 4.422 kB / 439.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1409, allocations: 11.92 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.141, allocations: 4 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.141, allocations: 0 / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1412, allocations: 210 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.1413, allocations: 92.97 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1413, allocations: 7.984 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.1414, allocations: 4 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1414, allocations: 4 kB / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1414, allocations: 11.98 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.703e-05/0.1415, allocations: 124.5 kB / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1415, allocations: 0 / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1418, allocations: 20 kB / 439.7 MB, free: 15.47 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.001019/0.1428, allocations: 464.8 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.143, allocations: 67.88 kB / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.143, allocations: 0 / 440.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.1431, allocations: 23.98 kB / 440.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1434, allocations: 36.05 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1438, allocations: 218 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1441, allocations: 0.7043 MB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.1442, allocations: 12.88 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.1442, allocations: 15.44 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1442, allocations: 0 / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.004751/0.149, allocations: 1.583 MB / 442.8 MB, free: 12.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: