Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007918/0.0007917, allocations: 96.08 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.0009691/0.0009693, allocations: 202.2 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.322/1.322, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002626, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002087/0.1096, allocations: 1.579 MB / 484.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1111, allocations: 0.99 MB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.1111, allocations: 0 / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1114, allocations: 63.8 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1117, allocations: 99.58 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.1121, allocations: 142.9 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1123, allocations: 187.4 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1124, allocations: 21.55 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1125, allocations: 67.69 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1127, allocations: 103.6 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1127, allocations: 4 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.1128, allocations: 35.98 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1129, allocations: 39.83 kB / 486.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.113, allocations: 93.23 kB / 486.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1132, allocations: 179.6 kB / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1132, allocations: 0 / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1132, allocations: 0 / 486.8 MB, free: 492 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1132, allocations: 0 / 486.8 MB, free: 492 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001006/0.1142, allocations: 0.5879 MB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1143, allocations: 8.875 kB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1143, allocations: 30.75 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.1144, allocations: 20.75 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1146, allocations: 236.9 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1146, allocations: 4.375 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.1147, allocations: 11.94 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1152, allocations: 169.5 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1152, allocations: 4 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1152, allocations: 3.984 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1152, allocations: 0 / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.116, allocations: 207.8 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1164, allocations: 380.5 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.1173, allocations: 246.4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.1177, allocations: 112.9 kB / 488.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1177, allocations: 7.938 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.1183, allocations: 187.2 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1183, allocations: 0 / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003935/0.1222, allocations: 1.062 MB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1223, allocations: 55.34 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1226, allocations: 252.2 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1226, allocations: 29.7 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.1227, allocations: 120.1 kB / 490.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.1227, allocations: 43.59 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.1228, allocations: 25.7 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1229, allocations: 330.8 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008029/0.1237, allocations: 219.8 kB / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.1245, allocations: 215.8 kB / 491.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.126, allocations: 474 kB / 491.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.126, allocations: 0 / 491.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001652/0.1276, allocations: 0.5496 MB / 492.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.1277, allocations: 55.41 kB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1277, allocations: 4.562 kB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1277, allocations: 0 / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.1282, allocations: 99.83 kB / 492.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1282, allocations: 7.938 kB / 492.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.1287, allocations: 87.91 kB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1287, allocations: 4 kB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001383/0.1288, allocations: 141.8 kB / 492.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1289, allocations: 19.72 kB / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.1306, allocations: 0.4944 MB / 493.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1306, allocations: 3.938 kB / 493.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1306, allocations: 3.938 kB / 493.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1306, allocations: 3.984 kB / 493.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1325, allocations: 0.8067 MB / 494 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1325, allocations: 0 / 494 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.1329, allocations: 91.84 kB / 494.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.1329, allocations: 7.984 kB / 494.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1329, allocations: 11.92 kB / 494.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1329, allocations: 0 / 494.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.133, allocations: 3.938 kB / 494.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1346, allocations: 0.5576 MB / 494.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.1346, allocations: 104.8 kB / 494.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.1347, allocations: 0 / 494.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.1351, allocations: 95.89 kB / 494.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.1353, allocations: 43.94 kB / 494.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1353, allocations: 4 kB / 494.9 MB, free: 7.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1355, allocations: 185.8 kB / 495.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1355, allocations: 4 kB / 495.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1358, allocations: 48 kB / 495.2 MB, free: 7.699 MB / 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002963/0.1388, allocations: 1.389 MB / 496.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.1404, allocations: 0.5687 MB / 497.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1404, allocations: 0 / 497.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.1412, allocations: 227.8 kB / 497.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1417, allocations: 28.64 kB / 497.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.148, allocations: 3.111 MB / 0.4887 GB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1483, allocations: 0.7244 MB / 0.4894 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.1484, allocations: 21.42 kB / 0.4895 GB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1485, allocations: 51.42 kB / 0.4895 GB, free: 1.547 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1485, allocations: 0 / 0.4895 GB, free: 1.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/0.2504, allocations: 4.893 MB / 0.4943 GB, free: 12.78 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.2507, allocations: 238.2 kB / 0.4945 GB, free: 12.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.156, allocations: 4.062 kB / 0.4945 GB, free: 12.52 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)