Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2309/0.2309, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002299/0.002299, allocations: 84.16 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003158/0.1303, allocations: 1.649 MB / 481.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008864/0.1312, allocations: 0.6841 MB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1313, allocations: 0 / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1315, allocations: 19.86 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1317, allocations: 47.81 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.1317, allocations: 0 / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1319, allocations: 27.86 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.1319, allocations: 11.98 kB / 482.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.132, allocations: 11.92 kB / 482.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.132, allocations: 19.56 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1321, allocations: 7.984 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.1321, allocations: 7.938 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.1322, allocations: 19.92 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1322, allocations: 19.88 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1323, allocations: 75.95 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1324, allocations: 0 / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1324, allocations: 0 / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1324, allocations: 4 kB / 482.8 MB, free: 2.531 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000409/0.1328, allocations: 357.5 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1328, allocations: 12.03 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1329, allocations: 38.67 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1329, allocations: 12.75 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1331, allocations: 172.3 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1331, allocations: 4.359 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.1331, allocations: 4.375 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1333, allocations: 127.3 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1333, allocations: 3.938 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1333, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.1334, allocations: 23.97 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.1335, allocations: 47.84 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.1342, allocations: 0.8906 MB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1343, allocations: 169.1 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.1343, allocations: 88.06 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.1344, allocations: 75.28 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.1344, allocations: 105.8 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1344, allocations: 0 / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.315e-05/0.1345, allocations: 41.64 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.1346, allocations: 138.7 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1348, allocations: 182 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.1349, allocations: 29.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.135, allocations: 147.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.135, allocations: 7.938 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.135, allocations: 41.61 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1352, allocations: 318.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.1352, allocations: 31.98 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1354, allocations: 161 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.1356, allocations: 208.9 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1356, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003062/0.1359, allocations: 197 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1359, allocations: 11.98 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.136, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.136, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1361, allocations: 48.48 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1362, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.1362, allocations: 23.69 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1363, allocations: 16 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001358/0.1364, allocations: 213 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.1365, allocations: 120.8 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.1366, allocations: 112.8 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.896e-05/0.1367, allocations: 188.3 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/0.1368, allocations: 180.2 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/0.1369, allocations: 176.3 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1371, allocations: 429.1 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/0.1372, allocations: 101 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.1372, allocations: 101 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.137e-05/0.1373, allocations: 188.2 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.1374, allocations: 180.2 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.372e-05/0.1375, allocations: 188.2 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.165e-05/0.1376, allocations: 176.3 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1377, allocations: 323.6 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1379, allocations: 186 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.138, allocations: 180.2 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.138, allocations: 101 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.1381, allocations: 180.3 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.1382, allocations: 108.9 kB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1383, allocations: 131.2 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.236e-06/0.1383, allocations: 0 / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1386, allocations: 15.94 kB / 490 MB, free: 10.71 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 (0): * Single equations (assignments): 0 * 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.0009783/0.1396, allocations: 0.9135 MB / 490.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1398, allocations: 75.78 kB / 491 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1398, allocations: 3.938 kB / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1398, allocations: 0 / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1402, allocations: 463 kB / 491.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.142, allocations: 1.88 MB / 493.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1423, allocations: 0.6967 MB / 494 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1425, allocations: 49.03 kB / 494.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.1426, allocations: 27.42 kB / 494.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1426, allocations: 4 kB / 494.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1678, allocations: 2.052 MB / 496.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.307, allocations: 7.641 kB / 496.2 MB, free: 4.434 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1)