Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001527/0.001527, 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.001871/0.001871, 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.58/1.58, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2308/0.2308, 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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",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.00229/0.00229, allocations: 75.88 kB / 0.4913 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1467, allocations: 65.98 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003581/0.1503, allocations: 1.692 MB / 0.5573 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1514, allocations: 0.5604 MB / 0.5579 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.1515, allocations: 0 / 0.5579 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1518, allocations: 55.8 kB / 0.5579 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1521, allocations: 91.61 kB / 0.558 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1525, allocations: 130.9 kB / 0.5582 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1527, allocations: 75.83 kB / 0.5582 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1528, allocations: 24.14 kB / 0.5583 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.1529, allocations: 27.92 kB / 0.5583 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.153, allocations: 51.81 kB / 0.5583 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.153, allocations: 4 kB / 0.5583 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1531, allocations: 55.92 kB / 0.5584 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.1532, allocations: 23.91 kB / 0.5584 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.1533, allocations: 31.8 kB / 0.5584 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1535, allocations: 119.4 kB / 0.5586 GB, free: 3.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1535, allocations: 0 / 0.5586 GB, free: 3.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1535, allocations: 0 / 0.5586 GB, free: 3.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1535, allocations: 0 / 0.5586 GB, free: 3.453 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.0006693/0.1542, allocations: 426.7 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1542, allocations: 8.031 kB / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.1543, allocations: 38.73 kB / 0.559 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1543, allocations: 8.891 kB / 0.559 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1546, allocations: 200.1 kB / 0.5592 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1546, allocations: 8.312 kB / 0.5592 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1546, allocations: 4.328 kB / 0.5592 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1548, allocations: 66.23 kB / 0.5593 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1548, allocations: 3.938 kB / 0.5593 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1548, allocations: 4 kB / 0.5593 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1548, allocations: 0 / 0.5593 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.155, allocations: 47.88 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.1555, allocations: 308.7 kB / 0.5596 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1557, allocations: 62.58 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.1558, allocations: 24.97 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1558, allocations: 0 / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1558, allocations: 30.56 kB / 0.5597 GB, free: 2.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1558, allocations: 4 kB / 0.5597 GB, free: 2.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001466/0.1573, allocations: 397.3 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1574, allocations: 51.41 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1576, allocations: 186.1 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1576, allocations: 29.7 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1576, allocations: 96.14 kB / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.1577, allocations: 39.69 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1577, allocations: 21.7 kB / 0.5605 GB, free: 1.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1579, allocations: 330.8 kB / 0.5608 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.158, allocations: 39.97 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1581, allocations: 47.91 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.1584, allocations: 96.75 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1584, allocations: 4 kB / 0.561 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003081/0.1587, allocations: 145.9 kB / 0.5612 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1587, allocations: 8 kB / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1587, allocations: 0 / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1587, allocations: 0 / 0.5612 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1588, allocations: 27.92 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1588, allocations: 7.922 kB / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1589, allocations: 12 kB / 0.5612 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1589, allocations: 0 / 0.5612 GB, free: 496 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.0001099/0.159, allocations: 125.8 kB / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1591, allocations: 15.91 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.1595, allocations: 166.3 kB / 0.5615 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1595, allocations: 7.938 kB / 0.5615 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1595, allocations: 7.875 kB / 0.5615 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1595, allocations: 0 / 0.5615 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.1603, allocations: 464.2 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1603, allocations: 3.938 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1604, allocations: 39.97 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1604, allocations: 4 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1604, allocations: 0 / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.1604, allocations: 4 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1604, allocations: 192 / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.1608, allocations: 261 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.1609, allocations: 93 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.161, allocations: 4 kB / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1611, allocations: 15.98 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1611, allocations: 7.984 kB / 0.5624 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1611, allocations: 4 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1613, allocations: 144 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1613, allocations: 4 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1616, allocations: 23.94 kB / 0.5625 GB, free: 15 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.002413/0.164, allocations: 1.143 MB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.1644, allocations: 107.9 kB / 0.5638 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1644, allocations: 0 / 0.5638 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1645, allocations: 55.91 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.1649, allocations: 19.92 kB / 0.5638 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1674, allocations: 1.793 MB / 0.5656 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1677, allocations: 0.7041 MB / 0.5663 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.1678, allocations: 20.59 kB / 0.5663 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.1679, allocations: 35.42 kB / 0.5663 GB, free: 11.15 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1679, allocations: 7.938 kB / 0.5663 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.1935, allocations: 3.361 MB / 0.5696 GB, free: 7.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.232, allocations: 2.812 kB / 0.5696 GB, free: 7.852 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.428181875031441] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.370051880832762 8.385864919 8.22939946 Calling exit ...