Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001598/0.001598, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001902/0.001902, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.552/1.552, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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.2434/0.2434, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",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.002355/0.002355, allocations: 83.86 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1245, allocations: 65.97 MB / 0.5557 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002917/0.1275, allocations: 1.617 MB / 0.5572 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1292, allocations: 1.179 MB / 0.5584 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.1293, allocations: 4 kB / 0.5584 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1295, allocations: 27.8 kB / 0.5584 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1297, allocations: 79.67 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.13, allocations: 111.2 kB / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1302, allocations: 71.77 kB / 0.5587 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.1303, allocations: 8 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.1303, allocations: 27.91 kB / 0.5587 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1305, allocations: 35.84 kB / 0.5587 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1305, allocations: 4 kB / 0.5587 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1307, allocations: 99.86 kB / 0.5588 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1307, allocations: 19.92 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1307, allocations: 19.86 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.131, allocations: 143.4 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.131, allocations: 0 / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.131, allocations: 4 kB / 0.559 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.131, allocations: 0 / 0.559 GB, free: 2.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005889/0.1316, allocations: 410.8 kB / 0.5594 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1316, allocations: 8.031 kB / 0.5594 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.1317, allocations: 34.75 kB / 0.5595 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1317, allocations: 8.891 kB / 0.5595 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.132, allocations: 192.3 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.132, allocations: 4.375 kB / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.132, allocations: 384 / 0.5596 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1322, allocations: 67.89 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1322, allocations: 3.938 kB / 0.5597 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1322, allocations: 4 kB / 0.5597 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1322, allocations: 0 / 0.5597 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.1323, allocations: 27.98 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.1328, allocations: 280.8 kB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1331, allocations: 50.48 kB / 0.5601 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.224e-05/0.1331, allocations: 16.84 kB / 0.5601 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1332, allocations: 8 kB / 0.5601 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1332, allocations: 30.56 kB / 0.5601 GB, free: 1.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1332, allocations: 0 / 0.5601 GB, free: 1.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006039/0.1338, allocations: 149.5 kB / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.1339, allocations: 89.03 kB / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.134, allocations: 148 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.134, allocations: 25.7 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.1341, allocations: 92.14 kB / 0.5606 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1341, allocations: 23.78 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.1342, allocations: 21.72 kB / 0.5606 GB, free: 1.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1343, allocations: 322.8 kB / 0.5609 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.1344, allocations: 19.98 kB / 0.561 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.1345, allocations: 37.7 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1346, allocations: 56.95 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1346, allocations: 7.984 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002125/0.1348, allocations: 81.62 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1348, allocations: 4 kB / 0.5611 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1348, allocations: 3.938 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1349, allocations: 0 / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.1349, allocations: 20.02 kB / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1349, allocations: 0 / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.135, allocations: 11.98 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.135, allocations: 0 / 0.5612 GB, free: 0.5117 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 (5): * Single equations (assignments): 5 * 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 9.481e-05/0.1351, allocations: 117.8 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1351, allocations: 7.953 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1354, allocations: 101.9 kB / 0.5614 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1354, allocations: 4 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1354, allocations: 0 / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1354, allocations: 0 / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.1359, allocations: 362.4 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1359, allocations: 0 / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1359, allocations: 12 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.1359, allocations: 3.984 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1359, allocations: 4 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1359, allocations: 4 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1359, allocations: 3.938 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1362, allocations: 179.7 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.1362, allocations: 89.06 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1363, allocations: 0 / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1363, allocations: 8 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1364, allocations: 11.92 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1364, allocations: 7.938 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.1365, allocations: 111.2 kB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1365, allocations: 0 / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1368, allocations: 35.88 kB / 0.5622 GB, free: 15.36 MB / 430.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 (5): * Single equations (assignments): 5 * 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.002166/0.1389, allocations: 1.108 MB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1392, allocations: 51.89 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1392, allocations: 0 / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.1392, allocations: 23.98 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1396, allocations: 22.73 kB / 0.5634 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1415, allocations: 1.448 MB / 0.5648 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1419, allocations: 0.6885 MB / 0.5655 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.702e-05/0.142, allocations: 23.98 kB / 0.5655 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.142, allocations: 23.42 kB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.142, allocations: 4 kB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.1686, allocations: 3.282 MB / 0.5687 GB, free: 8.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.333, allocations: 2.109 kB / 0.5687 GB, free: 8.758 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.391426640097052] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.457391750998795 8.478499181 8.343713804 Calling exit ...