Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001868/0.001868, 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.002569/0.002569, 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.582/1.582, 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.2472/0.2472, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",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.002343/0.002343, allocations: 79.86 kB / 0.4912 GB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.151, allocations: 65.99 MB / 0.5557 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00356/0.1546, allocations: 1.629 MB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1558, allocations: 0.5411 MB / 0.5578 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.1559, allocations: 0 / 0.5578 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1562, allocations: 95.73 kB / 0.5579 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1566, allocations: 115.5 kB / 0.558 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1569, allocations: 95.19 kB / 0.5581 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1571, allocations: 83.81 kB / 0.5582 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1572, allocations: 11.98 kB / 0.5582 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.1573, allocations: 43.77 kB / 0.5582 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1574, allocations: 59.81 kB / 0.5583 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1574, allocations: 4 kB / 0.5583 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1575, allocations: 47.98 kB / 0.5583 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1576, allocations: 23.92 kB / 0.5584 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.1577, allocations: 31.73 kB / 0.5584 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1579, allocations: 107.5 kB / 0.5585 GB, free: 3.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1579, allocations: 0 / 0.5585 GB, free: 3.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1579, allocations: 7.984 kB / 0.5585 GB, free: 3.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1579, allocations: 3.938 kB / 0.5585 GB, free: 3.477 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.0006794/0.1586, allocations: 418.6 kB / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1586, allocations: 12.03 kB / 0.5589 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1587, allocations: 30.75 kB / 0.5589 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1587, allocations: 20.83 kB / 0.559 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.159, allocations: 200.2 kB / 0.5592 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.159, allocations: 4.375 kB / 0.5592 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.159, allocations: 12.27 kB / 0.5592 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1592, allocations: 50.25 kB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1592, allocations: 7.875 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1592, allocations: 4 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1592, allocations: 0 / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1593, allocations: 27.97 kB / 0.5593 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.1598, allocations: 296.8 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1599, allocations: 46.5 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.1599, allocations: 12.94 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.16, allocations: 0 / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.16, allocations: 42.56 kB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.16, allocations: 0 / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000928/0.1609, allocations: 225.1 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.161, allocations: 51.41 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1613, allocations: 235.2 kB / 0.5601 GB, free: 1.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1613, allocations: 25.7 kB / 0.5601 GB, free: 1.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.1614, allocations: 108.1 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.1614, allocations: 31.73 kB / 0.5603 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1615, allocations: 17.72 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1617, allocations: 330.8 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/0.1618, allocations: 27.97 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.1618, allocations: 23.98 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.162, allocations: 72.77 kB / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.162, allocations: 0 / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.1622, allocations: 101.6 kB / 0.5608 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1623, allocations: 4 kB / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1623, allocations: 0 / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1623, allocations: 0 / 0.5608 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1624, allocations: 23.98 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1624, allocations: 0 / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1625, allocations: 7.984 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1625, allocations: 11.88 kB / 0.5609 GB, free: 0.8047 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 (8): * Single equations (assignments): 8 * 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.0001408/0.1626, allocations: 129.8 kB / 0.561 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.1627, allocations: 11.95 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.163, allocations: 119.4 kB / 0.5611 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.163, allocations: 12 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.163, allocations: 0 / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.163, allocations: 3.984 kB / 0.5611 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.1636, allocations: 403.2 kB / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1636, allocations: 0 / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.1637, allocations: 27.92 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1637, allocations: 0 / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1637, allocations: 7.969 kB / 0.5616 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1637, allocations: 4 kB / 0.5616 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1637, allocations: 0 / 0.5616 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.164, allocations: 208.7 kB / 0.5618 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1641, allocations: 85.06 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1641, allocations: 3.938 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1642, allocations: 15.98 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1642, allocations: 7.938 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.1643, allocations: 3.984 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1644, allocations: 176.3 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1644, allocations: 0 / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1647, allocations: 27.89 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002304/0.167, allocations: 1.093 MB / 0.5631 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.1673, allocations: 59.91 kB / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1673, allocations: 0 / 0.5632 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.1674, allocations: 35.91 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.1678, allocations: 22.19 kB / 0.5632 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.1702, allocations: 1.712 MB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1706, allocations: 0.7157 MB / 0.5656 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.1706, allocations: 16.97 kB / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.1707, allocations: 31.42 kB / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1707, allocations: 0 / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.1969, allocations: 3.224 MB / 0.5688 GB, free: 8.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.631, allocations: 10.3 kB / 0.5688 GB, free: 8.648 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.881314912810922] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.755827521905303 8.771421592 8.610489158 Calling exit ...