Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008473/0.0008473, allocations: 97.22 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 202.7 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002865, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 63.57 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002373/0.1242, allocations: 1.548 MB / 484.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.126, allocations: 1.065 MB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1261, allocations: 0 / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.1267, allocations: 303.4 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.1271, allocations: 231.4 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1273, allocations: 91.78 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.1276, allocations: 251.3 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.1277, allocations: 17.66 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1278, allocations: 119.5 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1281, allocations: 191.5 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1281, allocations: 4 kB / 487 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1282, allocations: 47.92 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1283, allocations: 135.6 kB / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1285, allocations: 176.6 kB / 487.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.1289, allocations: 358.7 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1289, allocations: 4 kB / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1289, allocations: 0 / 487.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1289, allocations: 0 / 487.7 MB, free: 15.51 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008605/0.1298, allocations: 0.6882 MB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1298, allocations: 8.875 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.1299, allocations: 30.75 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.1299, allocations: 48.38 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.1304, allocations: 447.8 kB / 488.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1305, allocations: 8.375 kB / 488.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1305, allocations: 7.938 kB / 488.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1307, allocations: 87.3 kB / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.1307, allocations: 0 / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1307, allocations: 0 / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1307, allocations: 4 kB / 489 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1308, allocations: 31.97 kB / 489 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1313, allocations: 386.3 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1315, allocations: 109.1 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.1316, allocations: 37.7 kB / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1317, allocations: 4 kB / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.132, allocations: 109 kB / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.132, allocations: 0 / 489.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004883/0.1325, allocations: 196.9 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.1325, allocations: 81.11 kB / 489.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.1336, allocations: 1.058 MB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1337, allocations: 29.7 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1338, allocations: 236.1 kB / 491.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.1339, allocations: 27.7 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1339, allocations: 17.72 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1341, allocations: 366.8 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.1342, allocations: 35.92 kB / 491.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.1343, allocations: 66.97 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1345, allocations: 83.92 kB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1345, allocations: 3.938 kB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002958/0.1348, allocations: 180.9 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1348, allocations: 4 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1348, allocations: 3.938 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1349, allocations: 4 kB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.135, allocations: 19.98 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.135, allocations: 4 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/0.1351, allocations: 15.84 kB / 492.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1351, allocations: 4 kB / 492.1 MB, free: 10.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.1353, allocations: 233.7 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1354, allocations: 55.33 kB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.1355, allocations: 60.14 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1355, allocations: 0 / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1355, allocations: 0 / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1355, allocations: 0 / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1358, allocations: 353.4 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1358, allocations: 0 / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.1358, allocations: 4 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1358, allocations: 4 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1359, allocations: 8 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1359, allocations: 4 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1359, allocations: 0 / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1362, allocations: 205.2 kB / 493 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1363, allocations: 140.4 kB / 493.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1364, allocations: 7.984 kB / 493.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.1364, allocations: 8 kB / 493.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1365, allocations: 15.92 kB / 493.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1365, allocations: 4 kB / 493.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007385/0.1373, allocations: 0.7839 MB / 493.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1373, allocations: 4 kB / 493.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1375, allocations: 43.98 kB / 494 MB, free: 8.816 MB / 366.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.1389, allocations: 1.039 MB / 495 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1392, allocations: 83.89 kB / 495.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1392, allocations: 0 / 495.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.1393, allocations: 39.92 kB / 495.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1397, allocations: 70.83 kB / 495.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.1451, allocations: 4.758 MB / 500 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1455, allocations: 0.839 MB / 0.4891 GB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1456, allocations: 58.94 kB / 0.4891 GB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1458, allocations: 159.4 kB / 0.4893 GB, free: 1.738 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1458, allocations: 0 / 0.4893 GB, free: 1.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.1639, allocations: 8.33 MB / 0.4974 GB, free: 9.527 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.1641, allocations: 239.9 kB / 0.4976 GB, free: 9.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.965, allocations: 3.938 kB / 0.4976 GB, free: 9.266 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)