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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 114.9 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 210.5 kB / 21.41 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 251.7 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.15 MB / 351.1 MB, free: 14.34 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002284/0.002284, allocations: 82.94 kB / 489.7 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1231, allocations: 62.45 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003001/0.1261, allocations: 1.682 MB / 0.5408 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1272, allocations: 0.545 MB / 0.5414 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.1272, allocations: 0 / 0.5414 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1275, allocations: 47.8 kB / 0.5414 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.1278, allocations: 95.61 kB / 0.5415 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1281, allocations: 139.1 kB / 0.5416 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1283, allocations: 75.83 kB / 0.5417 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1284, allocations: 32.36 kB / 0.5417 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.1285, allocations: 31.86 kB / 0.5418 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1286, allocations: 47.81 kB / 0.5418 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1286, allocations: 4 kB / 0.5418 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1287, allocations: 51.98 kB / 0.5419 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.1288, allocations: 27.91 kB / 0.5419 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.1289, allocations: 27.75 kB / 0.5419 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1291, allocations: 119.5 kB / 0.542 GB, free: 1.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1291, allocations: 3.938 kB / 0.542 GB, free: 1.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1291, allocations: 0 / 0.542 GB, free: 1.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1291, allocations: 4 kB / 0.542 GB, free: 1.844 MB / 398.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.0005749/0.1297, allocations: 418.7 kB / 0.5424 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1298, allocations: 8.031 kB / 0.5425 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.1298, allocations: 42.75 kB / 0.5425 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1298, allocations: 8.891 kB / 0.5425 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1301, allocations: 200.1 kB / 0.5427 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1301, allocations: 4.375 kB / 0.5427 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1301, allocations: 8.328 kB / 0.5427 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1303, allocations: 66.22 kB / 0.5428 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1303, allocations: 3.938 kB / 0.5428 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1303, allocations: 4 kB / 0.5428 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1303, allocations: 3.984 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1305, allocations: 43.91 kB / 0.5428 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1309, allocations: 304.8 kB / 0.5431 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1311, allocations: 58.59 kB / 0.5432 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.1312, allocations: 24.97 kB / 0.5432 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1313, allocations: 0 / 0.5432 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1313, allocations: 38.55 kB / 0.5432 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1313, allocations: 4 kB / 0.5432 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001465/0.1328, allocations: 385 kB / 0.5436 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1328, allocations: 59.39 kB / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1331, allocations: 182.1 kB / 0.5438 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1331, allocations: 25.7 kB / 0.5439 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.1332, allocations: 108.1 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1332, allocations: 43.69 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1333, allocations: 21.72 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1334, allocations: 330.8 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1336, allocations: 39.97 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1337, allocations: 47.89 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.134, allocations: 101.7 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.134, allocations: 0 / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003292/0.1343, allocations: 145.4 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1343, allocations: 11.98 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1343, allocations: 0 / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1344, allocations: 0 / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1345, allocations: 35.92 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1345, allocations: 7.938 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.1346, allocations: 11.98 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1346, allocations: 0 / 0.5447 GB, free: 14.86 MB / 414.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.0001101/0.1347, allocations: 125.8 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.1348, allocations: 15.91 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.1352, allocations: 166.2 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1352, allocations: 3.938 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1352, allocations: 3.938 kB / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1352, allocations: 0 / 0.545 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000724/0.1359, allocations: 468.1 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.136, allocations: 7.969 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1361, allocations: 27.92 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1361, allocations: 4 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1361, allocations: 4 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1361, allocations: 4 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1361, allocations: 3.984 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1366, allocations: 253 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.1367, allocations: 96.98 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1367, allocations: 4 kB / 0.5459 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1368, allocations: 11.98 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1369, allocations: 11.98 kB / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.1369, allocations: 8 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.137, allocations: 140.1 kB / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.137, allocations: 0 / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1373, allocations: 28.02 kB / 0.546 GB, free: 13.39 MB / 414.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.002379/0.1397, allocations: 1.14 MB / 0.5472 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.1401, allocations: 107.9 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1401, allocations: 3.938 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1403, allocations: 59.89 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1407, allocations: 14.62 kB / 0.5473 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1432, allocations: 1.797 MB / 0.5491 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1435, allocations: 0.708 MB / 0.5498 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.1436, allocations: 28.41 kB / 0.5498 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1437, allocations: 35.42 kB / 0.5498 GB, free: 9.531 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1437, allocations: 0 / 0.5498 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1675, allocations: 3.326 MB / 0.5531 GB, free: 6.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.309, allocations: 4.344 kB / 0.5531 GB, free: 6.301 MB / 414.1 MB " [Timeout remaining time 652] (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 --stepSize=0.00019992 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.185532324016094] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.427481260849163 8.442259 8.31049637 Calling exit ...