Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001721/0.001722, allocations: 118.2 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.002222/0.002223, allocations: 211.3 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.504/1.504, allocations: 227.4 MB / 251.7 MB, free: 268 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.2323/0.2323, allocations: 46.15 MB / 351.1 MB, free: 14.35 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002401/0.002401, allocations: 81.81 kB / 489.7 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1283, allocations: 62.45 MB / 0.5392 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00304/0.1314, allocations: 1.656 MB / 0.5408 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1334, allocations: 1.206 MB / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.1335, allocations: 0 / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1338, allocations: 23.86 kB / 0.542 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1341, allocations: 91.59 kB / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.1345, allocations: 174.9 kB / 0.5423 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1347, allocations: 79.75 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1348, allocations: 28.19 kB / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.1349, allocations: 31.86 kB / 0.5424 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.135, allocations: 43.77 kB / 0.5424 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1351, allocations: 8 kB / 0.5424 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1352, allocations: 95.94 kB / 0.5425 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.1353, allocations: 23.92 kB / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.1354, allocations: 27.8 kB / 0.5426 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.1357, allocations: 159.4 kB / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1357, allocations: 0 / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1357, allocations: 0 / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1357, allocations: 0 / 0.5427 GB, free: 1.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006203/0.1363, allocations: 426.7 kB / 0.5431 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1364, allocations: 12.03 kB / 0.5432 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.1364, allocations: 34.69 kB / 0.5432 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1365, allocations: 8.891 kB / 0.5432 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1367, allocations: 208.2 kB / 0.5434 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1367, allocations: 4.375 kB / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1368, allocations: 384 / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.137, allocations: 75.95 kB / 0.5435 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.137, allocations: 3.938 kB / 0.5435 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.137, allocations: 4 kB / 0.5435 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.137, allocations: 7.984 kB / 0.5435 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1372, allocations: 35.97 kB / 0.5435 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.1377, allocations: 316.6 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1378, allocations: 50.55 kB / 0.5439 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.1379, allocations: 28.94 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.138, allocations: 0 / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.138, allocations: 34.56 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.138, allocations: 0 / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008379/0.1388, allocations: 225.4 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1389, allocations: 85.09 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1391, allocations: 156 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1391, allocations: 25.7 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1392, allocations: 108 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1392, allocations: 15.86 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1393, allocations: 29.64 kB / 0.5446 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1394, allocations: 326.8 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1396, allocations: 35.97 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1397, allocations: 49.69 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.14, allocations: 101 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.14, allocations: 0 / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003096/0.1403, allocations: 121.6 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1403, allocations: 4 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1403, allocations: 3.984 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1403, allocations: 0 / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1405, allocations: 27.92 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1405, allocations: 3.938 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.1406, allocations: 15.98 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1406, allocations: 0 / 0.5452 GB, free: 14.33 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 (7): * Single equations (assignments): 7 * 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.0001061/0.1407, allocations: 121.8 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1408, allocations: 11.91 kB / 0.5453 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.1412, allocations: 138.3 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1412, allocations: 3.938 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1412, allocations: 3.984 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1412, allocations: 4 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006688/0.1419, allocations: 422.3 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1419, allocations: 4 kB / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.142, allocations: 23.98 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.142, allocations: 4.266 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.142, allocations: 0 / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1421, allocations: 3.938 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1421, allocations: 3.938 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.1424, allocations: 223.4 kB / 0.5461 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.1425, allocations: 89.06 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1425, allocations: 3.984 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1426, allocations: 11.94 kB / 0.5462 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1427, allocations: 7.984 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1427, allocations: 0 / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1428, allocations: 125.8 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1428, allocations: 0 / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.1431, allocations: 35.92 kB / 0.5464 GB, free: 13.01 MB / 414.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 (7): * Single equations (assignments): 7 * 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.002353/0.1455, allocations: 1.139 MB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1458, allocations: 99.91 kB / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1459, allocations: 0 / 0.5476 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.146, allocations: 55.89 kB / 0.5477 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1464, allocations: 19.88 kB / 0.5477 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.1488, allocations: 1.636 MB / 0.5493 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1491, allocations: 0.7118 MB / 0.55 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.1492, allocations: 32.7 kB / 0.55 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.1493, allocations: 27.42 kB / 0.55 GB, free: 9.332 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1493, allocations: 0 / 0.55 GB, free: 9.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.176, allocations: 3.611 MB / 0.5536 GB, free: 5.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.322, allocations: 5.016 kB / 0.5536 GB, free: 5.785 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.38832753803581] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.456601578975096 8.472051001 8.333460178 Calling exit ...