Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001442/0.001442, allocations: 122.7 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.001602/0.001602, allocations: 210.5 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.581/1.581, 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.264/0.264, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002281/0.002281, allocations: 79.86 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1479, allocations: 65.99 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003355/0.1513, allocations: 1.677 MB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1524, allocations: 0.5878 MB / 0.5579 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1524, allocations: 4 kB / 0.5579 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1527, allocations: 63.73 kB / 0.558 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.153, allocations: 91.59 kB / 0.5581 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1535, allocations: 183.2 kB / 0.5582 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1537, allocations: 79.88 kB / 0.5583 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1538, allocations: 20.16 kB / 0.5583 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.1538, allocations: 39.84 kB / 0.5584 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1539, allocations: 55.75 kB / 0.5584 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.154, allocations: 4 kB / 0.5584 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1541, allocations: 51.98 kB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1541, allocations: 27.91 kB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.1542, allocations: 35.73 kB / 0.5585 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1544, allocations: 131.4 kB / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1544, allocations: 0 / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1544, allocations: 0 / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1544, allocations: 0 / 0.5587 GB, free: 3.371 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000624/0.1551, allocations: 426.7 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1551, allocations: 8.031 kB / 0.5591 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.1551, allocations: 38.75 kB / 0.5591 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.1552, allocations: 12.88 kB / 0.5591 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1554, allocations: 204.8 kB / 0.5593 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1554, allocations: 12.38 kB / 0.5593 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1555, allocations: 384 / 0.5593 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1557, allocations: 78.08 kB / 0.5594 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1557, allocations: 7.875 kB / 0.5594 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1557, allocations: 8 kB / 0.5594 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1557, allocations: 0 / 0.5594 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1558, allocations: 35.97 kB / 0.5595 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1564, allocations: 340.6 kB / 0.5598 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.1566, allocations: 58.55 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.1567, allocations: 28.97 kB / 0.5599 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1567, allocations: 0 / 0.5599 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.1568, allocations: 38.56 kB / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1568, allocations: 96 / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001501/0.1583, allocations: 424.9 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1583, allocations: 51.41 kB / 0.5604 GB, free: 1.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1586, allocations: 202.3 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1586, allocations: 29.7 kB / 0.5606 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.1587, allocations: 108.1 kB / 0.5607 GB, free: 1.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.1587, allocations: 43.67 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.1588, allocations: 25.7 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.159, allocations: 322.8 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1591, allocations: 51.97 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1592, allocations: 59.89 kB / 0.5612 GB, free: 0.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.1595, allocations: 125.1 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1595, allocations: 3.938 kB / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003501/0.1599, allocations: 169.5 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1599, allocations: 8 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1599, allocations: 4 kB / 0.5615 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1599, allocations: 3.938 kB / 0.5615 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.16, allocations: 23.98 kB / 0.5615 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.16, allocations: 3.938 kB / 0.5615 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-05/0.1601, allocations: 11.98 kB / 0.5615 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1601, allocations: 4.562 kB / 0.5615 GB, free: 228 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 (11): * Single equations (assignments): 11 * 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.0001264/0.1602, allocations: 137.8 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.1603, allocations: 15.91 kB / 0.5616 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.1607, allocations: 183.1 kB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1608, allocations: 0 / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1608, allocations: 7.938 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1608, allocations: 0 / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007726/0.1615, allocations: 0.5 MB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1615, allocations: 3.938 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1616, allocations: 23.98 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1616, allocations: 4 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1617, allocations: 11.92 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1617, allocations: 7.938 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1617, allocations: 4.062 kB / 0.5624 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.1621, allocations: 269.1 kB / 0.5626 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1621, allocations: 92.95 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1621, allocations: 8 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1622, allocations: 11.98 kB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.1623, allocations: 11.92 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1623, allocations: 8 kB / 0.5628 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1625, allocations: 152.2 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1625, allocations: 0 / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1627, allocations: 31.94 kB / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002504/0.1652, allocations: 1.163 MB / 0.5641 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.1656, allocations: 127.8 kB / 0.5642 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1656, allocations: 0 / 0.5642 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.1658, allocations: 67.89 kB / 0.5642 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.1662, allocations: 22.8 kB / 0.5643 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.1689, allocations: 1.932 MB / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1693, allocations: 0.7158 MB / 0.5669 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1694, allocations: 28.53 kB / 0.5669 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.1695, allocations: 47.41 kB / 0.5669 GB, free: 10.57 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1695, allocations: 0 / 0.5669 GB, free: 10.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1955, allocations: 3.584 MB / 0.5704 GB, free: 7.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.045, allocations: 8.047 kB / 0.5704 GB, free: 7.039 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.356234725099057] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.171381958760321 8.195583043 8.037001918 Calling exit ...