Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001773/0.001773, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002038/0.002038, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2466/0.2466, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",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.002299/0.002299, allocations: 79.88 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 65.98 MB / 0.5557 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003437/0.15, allocations: 1.668 MB / 0.5573 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1519, allocations: 1.186 MB / 0.5585 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1519, allocations: 0 / 0.5585 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1521, allocations: 35.72 kB / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1524, allocations: 83.62 kB / 0.5586 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1528, allocations: 135 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.153, allocations: 63.89 kB / 0.5588 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1531, allocations: 15.98 kB / 0.5588 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.1531, allocations: 31.8 kB / 0.5588 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1533, allocations: 35.83 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1533, allocations: 8 kB / 0.5588 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1535, allocations: 107.9 kB / 0.559 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.1535, allocations: 19.92 kB / 0.559 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.1536, allocations: 27.81 kB / 0.559 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1539, allocations: 151.4 kB / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1539, allocations: 0 / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1539, allocations: 0 / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1539, allocations: 3.938 kB / 0.5591 GB, free: 2.887 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006307/0.1545, allocations: 422.7 kB / 0.5595 GB, free: 2.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1546, allocations: 12.03 kB / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1546, allocations: 42.73 kB / 0.5596 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1546, allocations: 8.891 kB / 0.5596 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1549, allocations: 196.2 kB / 0.5598 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1549, allocations: 4.375 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1549, allocations: 4.328 kB / 0.5598 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1551, allocations: 75.94 kB / 0.5599 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1551, allocations: 3.938 kB / 0.5599 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1551, allocations: 4 kB / 0.5599 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1552, allocations: 3.984 kB / 0.5599 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1553, allocations: 43.84 kB / 0.5599 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1557, allocations: 284.8 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1558, allocations: 46.55 kB / 0.5602 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.1559, allocations: 24.94 kB / 0.5603 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1559, allocations: 7.938 kB / 0.5603 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.156, allocations: 30.56 kB / 0.5603 GB, free: 1.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.156, allocations: 0 / 0.5603 GB, free: 1.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008599/0.1568, allocations: 217.5 kB / 0.5605 GB, free: 1.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.1569, allocations: 81.09 kB / 0.5606 GB, free: 1.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1571, allocations: 156.3 kB / 0.5607 GB, free: 1.035 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1571, allocations: 25.7 kB / 0.5608 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1572, allocations: 96.12 kB / 0.5609 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1572, allocations: 23.81 kB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1572, allocations: 25.7 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1574, allocations: 322.8 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1575, allocations: 35.97 kB / 0.5612 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1576, allocations: 49.67 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.1578, allocations: 76.84 kB / 0.5614 GB, free: 368 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1578, allocations: 0 / 0.5614 GB, free: 368 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002833/0.1581, allocations: 113.5 kB / 0.5615 GB, free: 248 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1581, allocations: 8 kB / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1581, allocations: 0 / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1582, allocations: 0 / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1583, allocations: 19.98 kB / 0.5615 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1583, allocations: 4 kB / 0.5615 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.1584, allocations: 15.92 kB / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1584, allocations: 4 kB / 0.5615 GB, free: 196 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 (7): * Single equations (assignments): 7 * 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.0001028/0.1585, allocations: 121.8 kB / 0.5616 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1585, allocations: 7.953 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.1589, allocations: 130.4 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1589, allocations: 3.938 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1589, allocations: 0 / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1589, allocations: 0 / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.1595, allocations: 402.7 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1595, allocations: 7.875 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.1596, allocations: 15.98 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1596, allocations: 8 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1596, allocations: 4 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1596, allocations: 3.938 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1596, allocations: 0 / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1599, allocations: 207.4 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.16, allocations: 85.06 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.16, allocations: 8 kB / 0.5625 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1601, allocations: 11.92 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.1602, allocations: 7.984 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1602, allocations: 4 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1603, allocations: 123.1 kB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1603, allocations: 0 / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1606, allocations: 39.88 kB / 0.5627 GB, free: 14.91 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 (7): * Single equations (assignments): 7 * 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.002374/0.163, allocations: 1.127 MB / 0.5638 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1633, allocations: 83.84 kB / 0.5638 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1633, allocations: 4 kB / 0.5638 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1635, allocations: 43.95 kB / 0.5639 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1638, allocations: 22.69 kB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.166, allocations: 1.585 MB / 0.5655 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1665, allocations: 0.6924 MB / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.258e-05/0.1666, allocations: 20.66 kB / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.1666, allocations: 31.42 kB / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1666, allocations: 0 / 0.5662 GB, free: 11.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1941, allocations: 3.547 MB / 0.5696 GB, free: 7.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.394, allocations: 10.22 kB / 0.5697 GB, free: 7.824 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.481660054065287] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.51867974596098 8.533944173 8.377087731 Calling exit ...