Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.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.001774/0.001774, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.002033/0.002033, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.525/1.525, allocations: 227.4 MB / 251.6 MB, free: 64 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.2278/0.2278, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",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.002206/0.002206, allocations: 78.95 kB / 489.7 MB, free: 28.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1175, allocations: 62.45 MB / 0.5392 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003466/0.121, allocations: 1.673 MB / 0.5408 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1221, allocations: 0.5488 MB / 0.5414 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.1221, allocations: 0 / 0.5414 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1224, allocations: 55.78 kB / 0.5414 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.1227, allocations: 95.59 kB / 0.5415 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1231, allocations: 131.6 kB / 0.5416 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1233, allocations: 83.75 kB / 0.5417 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1234, allocations: 28.38 kB / 0.5418 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.1235, allocations: 43.83 kB / 0.5418 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1236, allocations: 39.84 kB / 0.5418 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1236, allocations: 4 kB / 0.5418 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1237, allocations: 47.98 kB / 0.5419 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.1238, allocations: 23.91 kB / 0.5419 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.1239, allocations: 39.73 kB / 0.5419 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1241, allocations: 115.4 kB / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1241, allocations: 0 / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1241, allocations: 0 / 0.5421 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1241, allocations: 0 / 0.5421 GB, free: 1.809 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.0006479/0.1248, allocations: 430.7 kB / 0.5425 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1248, allocations: 8.031 kB / 0.5425 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1249, allocations: 34.73 kB / 0.5425 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1249, allocations: 16.84 kB / 0.5425 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1252, allocations: 208.1 kB / 0.5427 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1252, allocations: 4.375 kB / 0.5427 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1252, allocations: 4.375 kB / 0.5427 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1254, allocations: 58.23 kB / 0.5428 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1254, allocations: 7.938 kB / 0.5428 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1254, allocations: 7.984 kB / 0.5428 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1254, allocations: 4 kB / 0.5428 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1256, allocations: 39.89 kB / 0.5428 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.126, allocations: 312.7 kB / 0.5431 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1262, allocations: 58.55 kB / 0.5432 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.1263, allocations: 29 kB / 0.5432 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1264, allocations: 0 / 0.5432 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1264, allocations: 30.56 kB / 0.5433 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.1264, allocations: 0 / 0.5433 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001449/0.1278, allocations: 405.4 kB / 0.5436 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1279, allocations: 51.41 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1282, allocations: 197.4 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1282, allocations: 25.7 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.1283, allocations: 112.1 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.1283, allocations: 39.69 kB / 0.544 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.1284, allocations: 25.72 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1285, allocations: 330.8 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1287, allocations: 39.97 kB / 0.5444 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1288, allocations: 51.89 kB / 0.5445 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1291, allocations: 105 kB / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1291, allocations: 0 / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003241/0.1294, allocations: 141.5 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1294, allocations: 13.7 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1295, allocations: 0 / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1295, allocations: 0 / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1296, allocations: 27.92 kB / 0.5447 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1296, allocations: 3.938 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.1297, allocations: 15.98 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1297, allocations: 7.938 kB / 0.5448 GB, free: 14.79 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.0001313/0.1299, allocations: 129.8 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1299, allocations: 11.91 kB / 0.5449 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.1303, allocations: 163 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1304, allocations: 4 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1304, allocations: 3.938 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1304, allocations: 0 / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.1311, allocations: 468.1 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1312, allocations: 4 kB / 0.5455 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1313, allocations: 31.92 kB / 0.5456 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1313, allocations: 4 kB / 0.5456 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1313, allocations: 3.984 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1313, allocations: 0 / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1313, allocations: 4 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.1317, allocations: 261 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1318, allocations: 92.95 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1319, allocations: 8 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.132, allocations: 8.172 kB / 0.5459 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.132, allocations: 15.98 kB / 0.5459 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.132, allocations: 0 / 0.5459 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1322, allocations: 156.9 kB / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1322, allocations: 0 / 0.5461 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1325, allocations: 20.09 kB / 0.5461 GB, free: 13.3 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.002335/0.1348, allocations: 1.13 MB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1352, allocations: 119.8 kB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1352, allocations: 3.938 kB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1354, allocations: 59.91 kB / 0.5474 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1358, allocations: 17.7 kB / 0.5474 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1382, allocations: 1.814 MB / 0.5492 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1386, allocations: 0.7119 MB / 0.5499 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.1387, allocations: 12.55 kB / 0.5499 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.1388, allocations: 43.42 kB / 0.5499 GB, free: 9.426 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1388, allocations: 0 / 0.5499 GB, free: 9.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.1634, allocations: 3.402 MB / 0.5532 GB, free: 6.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.143, allocations: 5.141 kB / 0.5532 GB, free: 6.117 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.196272971108556] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.266956740990281 8.289712169 8.161961341 Calling exit ...