Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001581/0.001581, 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.001879/0.001879, 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.561/1.561, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2505/0.2505, allocations: 46.88 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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",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.002328/0.002328, allocations: 80.55 kB / 0.4912 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1421, allocations: 65.98 MB / 0.5557 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003509/0.1457, allocations: 1.693 MB / 0.5573 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1468, allocations: 0.5878 MB / 0.5579 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.1469, allocations: 0 / 0.5579 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1472, allocations: 67.72 kB / 0.558 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1475, allocations: 91.61 kB / 0.5581 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.148, allocations: 178.9 kB / 0.5582 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1482, allocations: 91.73 kB / 0.5583 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1483, allocations: 16.45 kB / 0.5583 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.1484, allocations: 43.83 kB / 0.5584 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1485, allocations: 51.81 kB / 0.5584 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1485, allocations: 8 kB / 0.5584 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1486, allocations: 51.98 kB / 0.5585 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.1487, allocations: 31.84 kB / 0.5585 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.1488, allocations: 35.73 kB / 0.5585 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.149, allocations: 119.5 kB / 0.5587 GB, free: 6.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.149, allocations: 0 / 0.5587 GB, free: 6.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.149, allocations: 0 / 0.5587 GB, free: 6.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.149, allocations: 3.938 kB / 0.5587 GB, free: 6.047 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.000677/0.1497, allocations: 426.7 kB / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1498, allocations: 12.03 kB / 0.5591 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.1498, allocations: 34.75 kB / 0.5591 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.1499, allocations: 16.84 kB / 0.5591 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1501, allocations: 204.8 kB / 0.5593 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1501, allocations: 4.375 kB / 0.5593 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1501, allocations: 4.375 kB / 0.5593 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1503, allocations: 62.23 kB / 0.5594 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1504, allocations: 7.891 kB / 0.5594 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1504, allocations: 4 kB / 0.5594 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1504, allocations: 4 kB / 0.5594 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.1505, allocations: 51.88 kB / 0.5595 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.1511, allocations: 328.7 kB / 0.5598 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.1513, allocations: 58.58 kB / 0.5598 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.1514, allocations: 28.97 kB / 0.5598 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1514, allocations: 0 / 0.5598 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1514, allocations: 42.56 kB / 0.5599 GB, free: 4.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1514, allocations: 0 / 0.5599 GB, free: 4.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001454/0.1529, allocations: 432.9 kB / 0.5603 GB, free: 4.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1529, allocations: 51.41 kB / 0.5604 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1531, allocations: 201.4 kB / 0.5605 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1532, allocations: 25.7 kB / 0.5606 GB, free: 3.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1532, allocations: 104.1 kB / 0.5607 GB, free: 3.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.1533, allocations: 43.58 kB / 0.5607 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1534, allocations: 25.72 kB / 0.5607 GB, free: 3.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1535, allocations: 326.8 kB / 0.561 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1537, allocations: 51.95 kB / 0.5611 GB, free: 3.324 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1538, allocations: 63.89 kB / 0.5612 GB, free: 3.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1541, allocations: 125 kB / 0.5613 GB, free: 3.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1541, allocations: 0 / 0.5613 GB, free: 3.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003387/0.1544, allocations: 165.5 kB / 0.5614 GB, free: 2.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1544, allocations: 9.859 kB / 0.5614 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1544, allocations: 0 / 0.5614 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1545, allocations: 0 / 0.5614 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1546, allocations: 27.92 kB / 0.5615 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1546, allocations: 7.922 kB / 0.5615 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.1547, allocations: 19.98 kB / 0.5615 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1547, allocations: 4 kB / 0.5615 GB, free: 2.902 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 (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.0001143/0.1548, allocations: 125.8 kB / 0.5616 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.1548, allocations: 15.91 kB / 0.5616 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.1553, allocations: 190.9 kB / 0.5618 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1553, allocations: 0 / 0.5618 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1553, allocations: 12.44 kB / 0.5618 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1553, allocations: 4 kB / 0.5618 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.156, allocations: 0.4922 MB / 0.5623 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.156, allocations: 3.938 kB / 0.5623 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1561, allocations: 31.98 kB / 0.5623 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1561, allocations: 8 kB / 0.5624 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1561, allocations: 96 / 0.5624 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1561, allocations: 7.938 kB / 0.5624 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1561, allocations: 0 / 0.5624 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.1565, allocations: 277 kB / 0.5626 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.1566, allocations: 96.98 kB / 0.5627 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1566, allocations: 0 / 0.5627 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.1567, allocations: 11.98 kB / 0.5627 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1567, allocations: 8 kB / 0.5627 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1568, allocations: 7.984 kB / 0.5627 GB, free: 1.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1569, allocations: 152.9 kB / 0.5629 GB, free: 1.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1569, allocations: 4 kB / 0.5629 GB, free: 1.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1572, allocations: 27.92 kB / 0.5629 GB, free: 1.32 MB / 414.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.002356/0.1595, allocations: 1.155 MB / 0.5641 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.1599, allocations: 127.8 kB / 0.5642 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1599, allocations: 0 / 0.5642 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1601, allocations: 67.89 kB / 0.5642 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1605, allocations: 19.98 kB / 0.5643 GB, free: 104 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.1632, allocations: 1.913 MB / 0.5661 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.1637, allocations: 0.7236 MB / 0.5668 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1638, allocations: 28.52 kB / 0.5669 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.1638, allocations: 39.42 kB / 0.5669 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1638, allocations: 0 / 0.5669 GB, free: 13.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1894, allocations: 3.561 MB / 0.5704 GB, free: 9.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/7.999, allocations: 5.016 kB / 0.5704 GB, free: 9.781 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.27600145386532] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.122478630859405 8.138840098 7.986548766 Calling exit ...