Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2332/0.2332, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002434/0.002434, allocations: 85.02 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1276, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004081/0.1317, allocations: 2.048 MB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.134, allocations: 1.118 MB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.1343, allocations: 7.938 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.135, allocations: 267.1 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008306/0.1359, allocations: 259.1 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.1375, allocations: 0.6543 MB / 484.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.138, allocations: 343.2 kB / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1382, allocations: 76.98 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1385, allocations: 139.4 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1388, allocations: 219.2 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.1388, allocations: 8.047 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.1391, allocations: 107.8 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1392, allocations: 95.67 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1394, allocations: 134.8 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.1399, allocations: 358.7 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1399, allocations: 0 / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1399, allocations: 4 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1399, allocations: 3.938 kB / 486 MB, free: 15.3 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009436/0.1409, allocations: 0.6961 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1409, allocations: 8.031 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.141, allocations: 38.75 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.948e-05/0.1411, allocations: 48.36 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.1416, allocations: 345.9 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1416, allocations: 8.375 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.1416, allocations: 12.38 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1419, allocations: 133.5 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.142, allocations: 3.984 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.142, allocations: 4 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.142, allocations: 8 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.1422, allocations: 91.81 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.1431, allocations: 0.5276 MB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1433, allocations: 106.5 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.1434, allocations: 40.83 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1434, allocations: 0 / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1435, allocations: 46.44 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.1435, allocations: 4 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001141/0.1446, allocations: 452.2 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1447, allocations: 51.41 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.1454, allocations: 0.5957 MB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1455, allocations: 29.7 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1457, allocations: 224.3 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.1457, allocations: 51.2 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.1458, allocations: 37.7 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.146, allocations: 350.8 kB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1461, allocations: 67.95 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1463, allocations: 67.95 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1466, allocations: 166.8 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1466, allocations: 0 / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004139/0.147, allocations: 229 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1471, allocations: 7.938 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1471, allocations: 0 / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1471, allocations: 4 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1472, allocations: 35.97 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1473, allocations: 4 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.1474, allocations: 4 kB / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1474, allocations: 11.98 kB / 490.5 MB, free: 10.61 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 (17): * Single equations (assignments): 17 * 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.0001872/0.1476, allocations: 189.6 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.1477, allocations: 43.44 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.1482, allocations: 283.9 kB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1482, allocations: 3.938 kB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1483, allocations: 7.984 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1483, allocations: 0 / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1493, allocations: 0.6972 MB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1493, allocations: 0 / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1495, allocations: 35.92 kB / 491.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1495, allocations: 4 kB / 491.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.1495, allocations: 8 kB / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.1495, allocations: 7.922 kB / 491.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1495, allocations: 0 / 491.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.15, allocations: 329.2 kB / 492.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1501, allocations: 124.6 kB / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1502, allocations: 0 / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1503, allocations: 19.92 kB / 492.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1503, allocations: 11.98 kB / 492.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1504, allocations: 4 kB / 492.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005059/0.1509, allocations: 450.8 kB / 492.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1509, allocations: 0 / 492.7 MB, free: 8.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.1512, allocations: 59.89 kB / 492.7 MB, free: 8.254 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.003398/0.1546, allocations: 1.458 MB / 494.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.155, allocations: 174.1 kB / 494.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1551, allocations: 4 kB / 494.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1552, allocations: 95.89 kB / 494.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1558, allocations: 84.48 kB / 494.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.1605, allocations: 3.373 MB / 497.9 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.1612, allocations: 0.8376 MB / 498.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.1614, allocations: 62.23 kB / 498.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.1617, allocations: 131.4 kB / 498.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1617, allocations: 4 kB / 498.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.1965, allocations: 7.72 MB / 0.4948 GB, free: 10.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.536, allocations: 20.95 kB / 0.4948 GB, free: 10.54 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1)