Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 103.2 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.001813/0.001813, 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.577/1.577, 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.2229/0.2229, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002376/0.002376, allocations: 76.47 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1222, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003043/0.1253, allocations: 1.674 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.1263, allocations: 0.561 MB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.1263, allocations: 0 / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1265, allocations: 51.73 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1268, allocations: 91.61 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1271, allocations: 139 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1273, allocations: 75.83 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.1274, allocations: 20.22 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.1275, allocations: 43.78 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.1276, allocations: 39.83 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1276, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1277, allocations: 55.98 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.1278, allocations: 23.91 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.1278, allocations: 31.73 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.128, allocations: 115.9 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.128, allocations: 4 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.128, allocations: 0 / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.128, allocations: 0 / 483.1 MB, free: 2.172 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.0005133/0.1285, allocations: 415 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1286, allocations: 8.031 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.1286, allocations: 34.69 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1287, allocations: 20.83 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1289, allocations: 192.1 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1289, allocations: 4.375 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1289, allocations: 4.375 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1291, allocations: 73.55 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1291, allocations: 3.906 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.1291, allocations: 0 / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1291, allocations: 4 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1293, allocations: 31.97 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1297, allocations: 316.7 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1299, allocations: 62.58 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.13, allocations: 36.89 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.13, allocations: 0 / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1301, allocations: 30.56 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1301, allocations: 0 / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.1315, allocations: 405.1 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1316, allocations: 59.34 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1318, allocations: 178.2 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1318, allocations: 29.7 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.1319, allocations: 100.2 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1319, allocations: 39.45 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.132, allocations: 25.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1321, allocations: 322.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1322, allocations: 43.95 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1324, allocations: 43.97 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1326, allocations: 105.1 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1327, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003275/0.133, allocations: 149.3 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.133, allocations: 6.656 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.133, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.133, allocations: 7.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1332, allocations: 27.98 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1332, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.1333, allocations: 7.984 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1333, allocations: 8 kB / 485.9 MB, free: 15.2 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 (11): * Single equations (assignments): 11 * 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.0001044/0.1334, allocations: 125.8 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.1334, allocations: 11.84 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.1339, allocations: 166.3 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.1339, allocations: 7.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1339, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1339, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.1346, allocations: 483.8 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1346, allocations: 0 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1347, allocations: 23.98 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1347, allocations: 4 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1348, allocations: 3.984 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1348, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1348, allocations: 4.188 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1352, allocations: 257 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.1353, allocations: 92.92 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1353, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1355, allocations: 15.98 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.1355, allocations: 7.984 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1355, allocations: 4 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1357, allocations: 135.2 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1357, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.136, allocations: 31.98 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00241/0.1384, allocations: 1.136 MB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1388, allocations: 107.8 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1388, allocations: 4 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.139, allocations: 60.03 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1394, allocations: 25.17 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.1418, allocations: 1.776 MB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1422, allocations: 0.7118 MB / 491 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.1423, allocations: 20.53 kB / 491 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.1424, allocations: 35.42 kB / 491.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1424, allocations: 0 / 491.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1671, allocations: 3.254 MB / 494.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.536, allocations: 5.141 kB / 494.3 MB, free: 6.699 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1)