Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.001466, 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.001546/0.001546, 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.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2292/0.2292, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.003899/0.003899, allocations: 77.56 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1278, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003448/0.1313, allocations: 1.689 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1323, allocations: 0.5727 MB / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.1324, allocations: 0 / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1327, allocations: 71.72 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.133, allocations: 95.58 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.1334, allocations: 175 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1336, allocations: 95.73 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1337, allocations: 20.23 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.654e-05/0.1338, allocations: 39.84 kB / 483 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1339, allocations: 43.83 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1339, allocations: 4 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1341, allocations: 55.97 kB / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1341, allocations: 27.91 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.1342, allocations: 35.69 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1344, allocations: 127.8 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1344, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1344, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1345, allocations: 0 / 483.2 MB, free: 2.105 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.0005562/0.135, allocations: 422.9 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1351, allocations: 8.031 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.1351, allocations: 38.73 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.1352, allocations: 12.84 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1354, allocations: 204.7 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1354, allocations: 12.31 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1354, allocations: 8.359 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1356, allocations: 73.53 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1356, allocations: 0 / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1356, allocations: 4 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1356, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1358, allocations: 39.97 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1363, allocations: 332.7 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1366, allocations: 62.55 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.1367, allocations: 24.97 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1367, allocations: 4 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1367, allocations: 30.56 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.1367, allocations: 96 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.1383, allocations: 437 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1383, allocations: 55.41 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1385, allocations: 210.2 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1386, allocations: 25.7 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.1386, allocations: 108.1 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1387, allocations: 35.45 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.1387, allocations: 25.7 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1389, allocations: 326.8 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.139, allocations: 59.89 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1392, allocations: 56.02 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1395, allocations: 120.8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1395, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003791/0.1399, allocations: 169.5 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1399, allocations: 8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1399, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.14, allocations: 3.938 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1401, allocations: 27.97 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1401, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.1402, allocations: 19.89 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1402, allocations: 0 / 486.1 MB, free: 14.96 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.0001323/0.1403, allocations: 141.7 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.1404, allocations: 11.91 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.1409, allocations: 187 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1409, allocations: 3.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1409, allocations: 0 / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1409, allocations: 0 / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.1417, allocations: 0.5038 MB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1417, allocations: 3.938 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.1418, allocations: 31.97 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1418, allocations: 64 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1418, allocations: 8.031 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1419, allocations: 7.938 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1419, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.1423, allocations: 269 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.1424, allocations: 92.92 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1424, allocations: 3.984 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1425, allocations: 8.188 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.1426, allocations: 15.92 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1426, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1428, allocations: 152.2 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1428, allocations: 0 / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1431, allocations: 35.98 kB / 487.6 MB, free: 13.38 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.00236/0.1454, allocations: 1.153 MB / 488.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.1458, allocations: 131.8 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1458, allocations: 0 / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.146, allocations: 71.89 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1464, allocations: 21.59 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.1489, allocations: 1.932 MB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1493, allocations: 0.7196 MB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1494, allocations: 40.5 kB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.1495, allocations: 39.42 kB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1495, allocations: 0 / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1744, allocations: 3.463 MB / 495.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.284, allocations: 6.922 kB / 495.2 MB, free: 5.91 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1)