Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001424/0.001424, 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.001595/0.001595, 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.561/1.561, 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.2369/0.2369, 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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.0023/0.0023, allocations: 75.88 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1505, allocations: 65.99 MB / 0.5557 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003692/0.1542, allocations: 1.666 MB / 0.5573 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1563, allocations: 1.214 MB / 0.5585 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.1564, allocations: 0 / 0.5585 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.1567, allocations: 27.73 kB / 0.5585 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.157, allocations: 87.61 kB / 0.5586 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.1575, allocations: 174.8 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1577, allocations: 75.81 kB / 0.5588 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1578, allocations: 19.98 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.1579, allocations: 31.84 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.158, allocations: 35.84 kB / 0.5589 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1581, allocations: 4 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.1583, allocations: 103.9 kB / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.1584, allocations: 27.91 kB / 0.5591 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.1584, allocations: 35.8 kB / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.1587, allocations: 155.4 kB / 0.5592 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1587, allocations: 0 / 0.5592 GB, free: 2.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1587, allocations: 0 / 0.5592 GB, free: 2.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1587, allocations: 0 / 0.5592 GB, free: 2.738 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.000689/0.1594, allocations: 422.7 kB / 0.5596 GB, free: 2.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1595, allocations: 8.031 kB / 0.5596 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.1595, allocations: 38.75 kB / 0.5597 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1596, allocations: 16.89 kB / 0.5597 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1599, allocations: 200.2 kB / 0.5599 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1599, allocations: 4.375 kB / 0.5599 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.1599, allocations: 384 / 0.5599 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1601, allocations: 83.81 kB / 0.56 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1601, allocations: 3.938 kB / 0.56 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1601, allocations: 4 kB / 0.56 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1601, allocations: 0 / 0.56 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1603, allocations: 43.97 kB / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.1608, allocations: 316.7 kB / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.161, allocations: 46.55 kB / 0.5604 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.1611, allocations: 28.92 kB / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1611, allocations: 4 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.1611, allocations: 34.56 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1611, allocations: 0 / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008321/0.162, allocations: 229.3 kB / 0.5607 GB, free: 1.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.162, allocations: 85.11 kB / 0.5607 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1622, allocations: 151.7 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1622, allocations: 25.7 kB / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1623, allocations: 104.1 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1624, allocations: 23.78 kB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.1624, allocations: 17.8 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1625, allocations: 334.7 kB / 0.5614 GB, free: 328 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1627, allocations: 39.95 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1628, allocations: 57.61 kB / 0.5615 GB, free: 224 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.163, allocations: 88.83 kB / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.163, allocations: 4 kB / 0.5615 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002865/0.1633, allocations: 121.6 kB / 0.5617 GB, free: 0 / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.1633, allocations: 4.047 kB / 0.5617 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1633, allocations: 0 / 0.5617 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1633, allocations: 0 / 0.5617 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1635, allocations: 19.94 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1635, allocations: 3.938 kB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.1636, allocations: 19.98 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1636, allocations: 0 / 0.5617 GB, free: 15.95 MB / 430.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.0001014/0.1637, allocations: 121.8 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1637, allocations: 11.91 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.1641, allocations: 146.6 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1641, allocations: 4 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1641, allocations: 0 / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1641, allocations: 0 / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.1647, allocations: 418.4 kB / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1647, allocations: 0 / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.1648, allocations: 19.97 kB / 0.5624 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1648, allocations: 4 kB / 0.5624 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1648, allocations: 4 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1648, allocations: 7.875 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1648, allocations: 0 / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1651, allocations: 227.4 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1652, allocations: 93.05 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1652, allocations: 4 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1653, allocations: 11.94 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1654, allocations: 7.984 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1654, allocations: 4 kB / 0.5627 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1655, allocations: 121.8 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1655, allocations: 4 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000318/0.1658, allocations: 39.86 kB / 0.5629 GB, free: 14.62 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.002339/0.1682, allocations: 1.147 MB / 0.564 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.1685, allocations: 79.94 kB / 0.5641 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1685, allocations: 7.938 kB / 0.5641 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1686, allocations: 51.89 kB / 0.5642 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.169, allocations: 27.86 kB / 0.5642 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1712, allocations: 1.636 MB / 0.5658 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1716, allocations: 0.7039 MB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.1717, allocations: 24.7 kB / 0.5665 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.1718, allocations: 35.52 kB / 0.5665 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1718, allocations: 3.938 kB / 0.5665 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1995, allocations: 3.637 MB / 0.5701 GB, free: 7.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.223, allocations: 7.875 kB / 0.5701 GB, free: 7.336 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.382992879021913] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.344418856315315 8.363915353 8.200667607 Calling exit ...