Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001881/0.001881, 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.002239/0.002239, 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.56/1.56, allocations: 227.4 MB / 251.6 MB, free: 48 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.2215/0.2215, allocations: 46.16 MB / 351.1 MB, free: 14.3 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",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.002279/0.00228, allocations: 77.81 kB / 489.7 MB, free: 28.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1254, allocations: 62.45 MB / 0.5392 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002983/0.1284, allocations: 1.611 MB / 0.5408 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1294, allocations: 0.5372 MB / 0.5413 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.1295, allocations: 3.938 kB / 0.5413 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.1298, allocations: 107.7 kB / 0.5414 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.1301, allocations: 123.6 kB / 0.5415 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1304, allocations: 91 kB / 0.5416 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1306, allocations: 95.73 kB / 0.5417 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1307, allocations: 20.2 kB / 0.5417 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.1308, allocations: 39.89 kB / 0.5418 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1309, allocations: 63.81 kB / 0.5418 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.131, allocations: 11.94 kB / 0.5418 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.1311, allocations: 39.98 kB / 0.5419 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1311, allocations: 27.86 kB / 0.5419 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1312, allocations: 31.75 kB / 0.5419 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1314, allocations: 115.5 kB / 0.542 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1314, allocations: 0 / 0.542 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1314, allocations: 3.938 kB / 0.542 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1314, allocations: 4 kB / 0.542 GB, free: 1.938 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.0005257/0.1319, allocations: 442.4 kB / 0.5425 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.132, allocations: 12.03 kB / 0.5425 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.132, allocations: 34.75 kB / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.1321, allocations: 16.88 kB / 0.5425 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1323, allocations: 208.9 kB / 0.5427 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1323, allocations: 384 / 0.5427 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1323, allocations: 4.375 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1325, allocations: 50.25 kB / 0.5428 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1325, allocations: 7.891 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1325, allocations: 0 / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1325, allocations: 4 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1326, allocations: 35.89 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.133, allocations: 296.8 kB / 0.5431 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.1331, allocations: 38.56 kB / 0.5431 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.1332, allocations: 20.94 kB / 0.5432 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.1332, allocations: 3.984 kB / 0.5432 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1333, allocations: 38.5 kB / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1333, allocations: 0 / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008815/0.1341, allocations: 229.2 kB / 0.5434 GB, free: 348 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1342, allocations: 59.39 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.1345, allocations: 258 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1345, allocations: 25.7 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.1346, allocations: 112.1 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.1346, allocations: 31.8 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.1347, allocations: 21.72 kB / 0.5439 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1348, allocations: 330.7 kB / 0.5442 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.1349, allocations: 27.98 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.135, allocations: 27.97 kB / 0.5443 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1352, allocations: 60.83 kB / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1352, allocations: 3.938 kB / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000221/0.1354, allocations: 101.6 kB / 0.5444 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1354, allocations: 5.562 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1354, allocations: 0 / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1355, allocations: 4 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1356, allocations: 19.98 kB / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1356, allocations: 0 / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.1356, allocations: 7.984 kB / 0.5445 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.1356, allocations: 3.938 kB / 0.5445 GB, free: 15.21 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 (8): * Single equations (assignments): 8 * 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.000106/0.1358, allocations: 137.8 kB / 0.5446 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1358, allocations: 15.91 kB / 0.5446 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1361, allocations: 127 kB / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1361, allocations: 0 / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1361, allocations: 0 / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1361, allocations: 0 / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.1367, allocations: 415.6 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1367, allocations: 0 / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.1368, allocations: 19.98 kB / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1368, allocations: 4.031 kB / 0.5452 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1368, allocations: 7.938 kB / 0.5452 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1368, allocations: 7.938 kB / 0.5452 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1368, allocations: 0 / 0.5452 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1371, allocations: 204.3 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.1371, allocations: 93.05 kB / 0.5455 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1372, allocations: 3.938 kB / 0.5455 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1372, allocations: 8 kB / 0.5455 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1373, allocations: 7.984 kB / 0.5455 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.1373, allocations: 4 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1375, allocations: 188.4 kB / 0.5457 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1375, allocations: 0 / 0.5457 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1377, allocations: 19.94 kB / 0.5457 GB, free: 13.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002098/0.1398, allocations: 1.091 MB / 0.5467 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1401, allocations: 67.89 kB / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1401, allocations: 0 / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.1402, allocations: 35.98 kB / 0.5468 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1406, allocations: 23.67 kB / 0.5469 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1426, allocations: 1.76 MB / 0.5486 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1429, allocations: 0.7157 MB / 0.5493 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.143, allocations: 20.95 kB / 0.5493 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.1431, allocations: 35.42 kB / 0.5493 GB, free: 10.13 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1431, allocations: 0 / 0.5493 GB, free: 10.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1669, allocations: 3.287 MB / 0.5525 GB, free: 6.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.204, allocations: 5.141 kB / 0.5526 GB, free: 6.945 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.314815769903362] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.325455226004124 8.340601027 8.206416456 Calling exit ...