Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 103.8 kB / 17.63 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 210.4 kB / 18.58 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.231/0.231, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 80.22 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.136, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003986/0.14, allocations: 1.682 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1412, allocations: 0.5805 MB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1413, allocations: 0 / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.142, allocations: 459.1 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.1425, allocations: 291.3 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.143, allocations: 180.9 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.1433, allocations: 179.6 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1434, allocations: 28.2 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1436, allocations: 111.7 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.1439, allocations: 207.6 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1439, allocations: 11.92 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.144, allocations: 43.98 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1442, allocations: 87.69 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1443, allocations: 114.9 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.1446, allocations: 271.2 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1446, allocations: 7.984 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1447, allocations: 0 / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1447, allocations: 0 / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008743/0.1455, allocations: 0.6491 MB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1456, allocations: 8.031 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1457, allocations: 38.75 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.1457, allocations: 48.38 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.1461, allocations: 304.1 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.1461, allocations: 4.375 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1461, allocations: 4.375 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1463, allocations: 61.61 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1463, allocations: 0 / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1464, allocations: 0 / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1464, allocations: 0 / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1465, allocations: 39.91 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.1471, allocations: 420.5 kB / 486 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1472, allocations: 46.59 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1473, allocations: 20.94 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1473, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1474, allocations: 38.56 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.1474, allocations: 3.984 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00104/0.1484, allocations: 319.7 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1485, allocations: 59.34 kB / 486.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.1494, allocations: 0.8776 MB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1494, allocations: 25.7 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.1496, allocations: 232.1 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1497, allocations: 23.64 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1497, allocations: 17.72 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1499, allocations: 366.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.15, allocations: 35.91 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.1501, allocations: 35.97 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1503, allocations: 72.83 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1503, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002631/0.1506, allocations: 145 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1506, allocations: 11.98 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1506, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1506, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1507, allocations: 27.88 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1508, allocations: 3.984 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.1508, allocations: 4 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1508, allocations: 0 / 488.3 MB, free: 12.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002094/0.1511, allocations: 217.8 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.1511, allocations: 43.44 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.1515, allocations: 185.8 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1515, allocations: 3.938 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1515, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1515, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.1522, allocations: 0.5226 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1523, allocations: 7.969 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.1523, allocations: 19.98 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1524, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1524, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1524, allocations: 0 / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1524, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1527, allocations: 255.7 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.1528, allocations: 112.5 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.1528, allocations: 4 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.153, allocations: 11.86 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.153, allocations: 8 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.153, allocations: 4 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006338/0.1537, allocations: 0.6589 MB / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1537, allocations: 0 / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.154, allocations: 35.98 kB / 490.4 MB, free: 10.56 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002164/0.1561, allocations: 1.122 MB / 491.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1564, allocations: 83.89 kB / 491.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1564, allocations: 0 / 491.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1565, allocations: 44.06 kB / 491.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.157, allocations: 36.31 kB / 491.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.1613, allocations: 3.426 MB / 495.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.1619, allocations: 0.8377 MB / 495.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.162, allocations: 16.42 kB / 495.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.1621, allocations: 123.4 kB / 496.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1621, allocations: 0 / 496.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.1944, allocations: 6.337 MB / 0.4906 GB, free: 14.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.474, allocations: 9.141 kB / 0.4906 GB, free: 14.62 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1)