Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.00176/0.00176, allocations: 122 kB / 18.46 MB, free: 4.609 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.002163/0.002163, allocations: 208.9 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.482/1.482, allocations: 227.4 MB / 251.7 MB, free: 264 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.43 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.00361/0.00361, allocations: 81.27 kB / 489.7 MB, free: 28.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1393, allocations: 62.46 MB / 0.5392 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003265/0.1426, allocations: 1.611 MB / 0.5408 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1437, allocations: 0.5371 MB / 0.5413 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.1438, allocations: 0 / 0.5413 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1441, allocations: 119.6 kB / 0.5414 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.1444, allocations: 135.6 kB / 0.5415 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1447, allocations: 95.69 kB / 0.5416 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1449, allocations: 95.73 kB / 0.5417 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.145, allocations: 20.2 kB / 0.5417 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.1451, allocations: 47.88 kB / 0.5418 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1452, allocations: 83.78 kB / 0.5419 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1453, allocations: 4 kB / 0.5419 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.384e-05/0.1454, allocations: 43.94 kB / 0.5419 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.1454, allocations: 27.91 kB / 0.5419 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.1455, allocations: 43.67 kB / 0.542 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1457, allocations: 119.4 kB / 0.5421 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1457, allocations: 0 / 0.5421 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1457, allocations: 0 / 0.5421 GB, free: 1.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1458, allocations: 0 / 0.5421 GB, free: 1.914 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.0005814/0.1463, allocations: 446.5 kB / 0.5425 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1464, allocations: 8.031 kB / 0.5425 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.1464, allocations: 34.75 kB / 0.5426 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.1465, allocations: 20.83 kB / 0.5426 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1467, allocations: 215.8 kB / 0.5428 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1468, allocations: 4.375 kB / 0.5428 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1468, allocations: 384 / 0.5428 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.147, allocations: 54.19 kB / 0.5429 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.147, allocations: 11.94 kB / 0.5429 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.147, allocations: 0 / 0.5429 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.147, allocations: 0 / 0.5429 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.1471, allocations: 27.97 kB / 0.5429 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1475, allocations: 296.8 kB / 0.5432 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1477, allocations: 46.5 kB / 0.5432 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.1477, allocations: 20.86 kB / 0.5432 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1478, allocations: 4 kB / 0.5432 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1478, allocations: 34.64 kB / 0.5433 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1478, allocations: 0 / 0.5433 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009245/0.1487, allocations: 245.3 kB / 0.5435 GB, free: 300 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1488, allocations: 51.41 kB / 0.5436 GB, free: 236 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1491, allocations: 279.7 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1491, allocations: 25.7 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.1492, allocations: 112.1 kB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1493, allocations: 31.73 kB / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1493, allocations: 17.72 kB / 0.544 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1495, allocations: 342.6 kB / 0.5443 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.1496, allocations: 31.91 kB / 0.5444 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.1497, allocations: 23.98 kB / 0.5444 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1498, allocations: 60.83 kB / 0.5444 GB, free: 15.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1498, allocations: 0 / 0.5444 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.15, allocations: 101.6 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1501, allocations: 8 kB / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1501, allocations: 4 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1501, allocations: 0 / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.1502, allocations: 19.92 kB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1502, allocations: 0 / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.1503, allocations: 11.98 kB / 0.5446 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1503, allocations: 11.94 kB / 0.5446 GB, free: 15.12 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.0001188/0.1504, allocations: 133.8 kB / 0.5447 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1505, allocations: 15.91 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.1507, allocations: 115 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1508, allocations: 0 / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1508, allocations: 4 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1508, allocations: 0 / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.1513, allocations: 427.5 kB / 0.5453 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1514, allocations: 4.031 kB / 0.5453 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.1514, allocations: 15.98 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1514, allocations: 4 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1515, allocations: 3.938 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1515, allocations: 0 / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1515, allocations: 0 / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.1518, allocations: 216.3 kB / 0.5455 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.1518, allocations: 89.02 kB / 0.5456 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1519, allocations: 7.938 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1519, allocations: 7.984 kB / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.152, allocations: 4 kB / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.152, allocations: 0 / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.1522, allocations: 213.5 kB / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1525, allocations: 23.94 kB / 0.5458 GB, free: 13.75 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.002141/0.1546, allocations: 1.089 MB / 0.5469 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1548, allocations: 67.94 kB / 0.5469 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1548, allocations: 0 / 0.5469 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.1549, allocations: 39.92 kB / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1553, allocations: 29.27 kB / 0.547 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.1574, allocations: 1.805 MB / 0.5488 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1578, allocations: 0.7274 MB / 0.5495 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.1579, allocations: 12.97 kB / 0.5495 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.1579, allocations: 35.42 kB / 0.5495 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1579, allocations: 3.938 kB / 0.5495 GB, free: 9.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1824, allocations: 3.391 MB / 0.5528 GB, free: 6.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.261, allocations: 5.062 kB / 0.5529 GB, free: 6.68 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.236393569037318] 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.380300726974383 8.404307098 8.253763904 Calling exit ...