Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001004/0.001005, allocations: 177.3 kB / 15.95 MB, free: 208 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.778/1.778, 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.4761/0.4761, allocations: 38.02 MB / 308.4 MB, free: 10.35 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.0005556/0.0005556, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1294, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002198/0.1316, allocations: 1.362 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1328, allocations: 0.7343 MB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.1329, allocations: 0 / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1332, allocations: 27.84 kB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1334, allocations: 43.88 kB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1336, allocations: 83.77 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1338, allocations: 55.88 kB / 436.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.1339, allocations: 20.19 kB / 436.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.134, allocations: 35.86 kB / 436.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.134, allocations: 31.84 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1341, allocations: 0 / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1341, allocations: 31.88 kB / 436.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1342, allocations: 19.97 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1342, allocations: 37.64 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1344, allocations: 84.03 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1344, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1344, allocations: 4 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1344, allocations: 0 / 436.5 MB, free: 2.996 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.0004998/0.1349, allocations: 398.9 kB / 436.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.135, allocations: 8.031 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.135, allocations: 23.75 kB / 436.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1353, allocations: 203.5 kB / 437.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1353, allocations: 8 kB / 437.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1353, allocations: 3.984 kB / 437.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1355, allocations: 53.67 kB / 437.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1355, allocations: 7.984 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1355, allocations: 4 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1355, allocations: 0 / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.1356, allocations: 23.88 kB / 437.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.136, allocations: 281 kB / 437.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1362, allocations: 54.69 kB / 437.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1362, allocations: 4 kB / 437.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1364, allocations: 71.44 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1364, allocations: 0 / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.1369, allocations: 177 kB / 437.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.137, allocations: 59.41 kB / 437.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1372, allocations: 195.3 kB / 438 MB, free: 1.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1372, allocations: 29.7 kB / 438.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.1373, allocations: 100.1 kB / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1373, allocations: 27.69 kB / 438.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.1374, allocations: 0 / 438.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1375, allocations: 326.8 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.1375, allocations: 19.98 kB / 438.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.1376, allocations: 33.7 kB / 438.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.1377, allocations: 24 kB / 438.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1377, allocations: 0 / 438.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001655/0.1379, allocations: 101.5 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1379, allocations: 4 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1379, allocations: 3.953 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1379, allocations: 3.984 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.138, allocations: 16.19 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.138, allocations: 3.938 kB / 438.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.1381, allocations: 7.938 kB / 438.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1381, allocations: 8.031 kB / 438.7 MB, free: 0.5352 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.0001132/0.1382, allocations: 130.8 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1383, allocations: 15.75 kB / 438.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.1383, allocations: 21.39 kB / 438.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1383, allocations: 3.953 kB / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1383, allocations: 0 / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1383, allocations: 0 / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1388, allocations: 395.3 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1388, allocations: 384 / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1388, allocations: 11.95 kB / 439.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1388, allocations: 3.984 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1389, allocations: 8 kB / 439.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1389, allocations: 4 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1389, allocations: 0 / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1391, allocations: 221.8 kB / 439.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.1392, allocations: 89 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1392, allocations: 0 / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.1393, allocations: 4 kB / 439.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1393, allocations: 11.98 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1394, allocations: 4 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1395, allocations: 152.9 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1395, allocations: 0 / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1397, allocations: 24 kB / 439.8 MB, free: 15.34 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.0009474/0.1407, allocations: 467.2 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1409, allocations: 63.89 kB / 440.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1409, allocations: 3.938 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.141, allocations: 35.92 kB / 440.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1412, allocations: 27.92 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.1416, allocations: 242.5 kB / 440.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1419, allocations: 0.7082 MB / 441.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.142, allocations: 12.88 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.142, allocations: 19.44 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.142, allocations: 0 / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.004306/0.1463, allocations: 1.587 MB / 443 MB, free: 12.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) Environment - environmentSimulation: