Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001616/0.001616, allocations: 117.8 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.002074/0.002074, 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.568/1.568, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2356/0.2356, allocations: 46.89 MB / 357.4 MB, free: 10.48 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002303/0.002303, allocations: 87.86 kB / 0.4913 GB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1572, allocations: 65.98 MB / 0.5557 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004492/0.1617, allocations: 1.603 MB / 0.5572 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1642, allocations: 1.179 MB / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.1643, allocations: 0 / 0.5584 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1645, allocations: 27.8 kB / 0.5584 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1649, allocations: 83.61 kB / 0.5585 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1653, allocations: 111.4 kB / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1655, allocations: 71.77 kB / 0.5587 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1657, allocations: 11.98 kB / 0.5587 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.1657, allocations: 19.92 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1659, allocations: 39.83 kB / 0.5587 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1659, allocations: 4 kB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.1662, allocations: 95.89 kB / 0.5588 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.1662, allocations: 19.91 kB / 0.5589 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.1663, allocations: 15.88 kB / 0.5589 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1666, allocations: 155.4 kB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1666, allocations: 0 / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1666, allocations: 0 / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1667, allocations: 0 / 0.559 GB, free: 2.789 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.0007097/0.1674, allocations: 410.8 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1674, allocations: 8.031 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.1674, allocations: 34.69 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.1675, allocations: 8.891 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1678, allocations: 192.3 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1678, allocations: 12.38 kB / 0.5597 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1678, allocations: 384 / 0.5597 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.168, allocations: 67.89 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.168, allocations: 7.938 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.168, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1681, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.1681, allocations: 19.98 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1686, allocations: 288.8 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1688, allocations: 50.5 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1689, allocations: 12.94 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1689, allocations: 0 / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.169, allocations: 34.56 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.169, allocations: 4 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006111/0.1696, allocations: 149.4 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.1697, allocations: 77.11 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1698, allocations: 148.3 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1699, allocations: 29.7 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.1699, allocations: 92.12 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1699, allocations: 31.78 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.17, allocations: 21.72 kB / 0.5606 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1701, allocations: 326.8 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.1702, allocations: 15.98 kB / 0.561 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.1703, allocations: 33.7 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1704, allocations: 60.8 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1704, allocations: 0 / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.1706, allocations: 85.61 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1706, allocations: 11.94 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1706, allocations: 0 / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1707, allocations: 0 / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.1707, allocations: 12.52 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1707, allocations: 0 / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.1708, allocations: 12 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1708, allocations: 4 kB / 0.5612 GB, free: 328 kB / 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.529e-05/0.1709, allocations: 125.7 kB / 0.5613 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1709, allocations: 7.953 kB / 0.5613 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.1712, allocations: 97.94 kB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1712, allocations: 0 / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1712, allocations: 7.984 kB / 0.5614 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1712, allocations: 0 / 0.5614 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1717, allocations: 366.4 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1717, allocations: 0 / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1717, allocations: 12 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1717, allocations: 4 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1717, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1718, allocations: 3.984 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1718, allocations: 3.938 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.172, allocations: 179.5 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1721, allocations: 85.05 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1721, allocations: 7.938 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1721, allocations: 4 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1722, allocations: 11.92 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1722, allocations: 0 / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.1723, allocations: 111.3 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1723, allocations: 4 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1726, allocations: 39.86 kB / 0.5622 GB, free: 15.16 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.002153/0.1747, allocations: 1.101 MB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1749, allocations: 55.91 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1749, allocations: 0 / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.175, allocations: 27.97 kB / 0.5634 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1754, allocations: 22.89 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1772, allocations: 1.443 MB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1775, allocations: 0.6924 MB / 0.5655 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.1776, allocations: 19.98 kB / 0.5655 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.1776, allocations: 27.42 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1776, allocations: 0 / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2051, allocations: 3.282 MB / 0.5687 GB, free: 8.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.359, allocations: 14.11 kB / 0.5687 GB, free: 8.551 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.453136230353266] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.486134417820722 8.508323523 8.337361033 Calling exit ...