Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001315/0.001315, allocations: 121.3 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.001438/0.001438, 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.27 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.255/0.255, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002318/0.002318, allocations: 87.86 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.148, allocations: 65.98 MB / 0.5557 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003032/0.151, allocations: 1.623 MB / 0.5573 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1521, allocations: 0.5644 MB / 0.5578 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.1521, allocations: 0 / 0.5578 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.1528, allocations: 455.1 kB / 0.5582 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.1533, allocations: 291.3 kB / 0.5585 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1538, allocations: 174.8 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1541, allocations: 159.7 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1542, allocations: 15.97 kB / 0.5589 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1543, allocations: 107.7 kB / 0.559 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1546, allocations: 243.5 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1546, allocations: 0 / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.1547, allocations: 31.97 kB / 0.5592 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1548, allocations: 91.62 kB / 0.5593 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1549, allocations: 99 kB / 0.5594 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1553, allocations: 262.6 kB / 0.5596 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1553, allocations: 4 kB / 0.5597 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1553, allocations: 0 / 0.5597 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1553, allocations: 0 / 0.5597 GB, free: 2.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008627/0.1562, allocations: 0.649 MB / 0.5603 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1562, allocations: 8.031 kB / 0.5603 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.1562, allocations: 38.73 kB / 0.5603 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.1563, allocations: 44.66 kB / 0.5604 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1567, allocations: 304.6 kB / 0.5607 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1567, allocations: 8.375 kB / 0.5607 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1567, allocations: 4.312 kB / 0.5607 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1569, allocations: 54.17 kB / 0.5607 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1569, allocations: 3.938 kB / 0.5607 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1569, allocations: 0 / 0.5607 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1569, allocations: 0 / 0.5607 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.157, allocations: 27.98 kB / 0.5608 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.1576, allocations: 388.8 kB / 0.5611 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.728e-05/0.1577, allocations: 38.5 kB / 0.5612 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.1577, allocations: 8.922 kB / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1578, allocations: 0 / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1578, allocations: 38.56 kB / 0.5612 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1578, allocations: 0 / 0.5612 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002896/0.1581, allocations: 109.3 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1581, allocations: 59.34 kB / 0.5614 GB, free: 384 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000904/0.159, allocations: 0.8777 MB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1591, allocations: 25.7 kB / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1592, allocations: 220.1 kB / 0.5625 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1593, allocations: 7.953 kB / 0.5625 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.1593, allocations: 17.83 kB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1595, allocations: 366.7 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.1595, allocations: 11.98 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.1596, allocations: 8 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.1596, allocations: 28.83 kB / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1596, allocations: 0 / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.1598, allocations: 97.47 kB / 0.563 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1598, allocations: 7.938 kB / 0.563 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1598, allocations: 3.984 kB / 0.563 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1599, allocations: 0 / 0.563 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.1599, allocations: 7.984 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.1599, allocations: 0 / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.16, allocations: 7.938 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.16, allocations: 0 / 0.563 GB, free: 14.66 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 (2): * Single equations (assignments): 2 * 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.0002183/0.1602, allocations: 221.7 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.1603, allocations: 47.67 kB / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.1605, allocations: 104.8 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1605, allocations: 0 / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1605, allocations: 7.938 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1605, allocations: 0 / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.1608, allocations: 289.5 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1608, allocations: 0 / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.1609, allocations: 15.94 kB / 0.5637 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1609, allocations: 4.031 kB / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1609, allocations: 0 / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1609, allocations: 0 / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1609, allocations: 0 / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1611, allocations: 191.2 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1612, allocations: 120.8 kB / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1613, allocations: 0 / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1613, allocations: 12.03 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.1614, allocations: 0 / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.1614, allocations: 4 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007016/0.1621, allocations: 0.6589 MB / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1623, allocations: 16 kB / 0.5646 GB, free: 12.89 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 (2): * Single equations (assignments): 2 * 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.001735/0.1641, allocations: 0.9724 MB / 0.5656 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1642, allocations: 27.98 kB / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1642, allocations: 0 / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.1643, allocations: 23.86 kB / 0.5656 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.1647, allocations: 37.67 kB / 0.5657 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.1687, allocations: 3.175 MB / 0.5688 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.1692, allocations: 0.8221 MB / 0.5696 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.1693, allocations: 19.73 kB / 0.5696 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1694, allocations: 111.4 kB / 0.5697 GB, free: 7.688 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1694, allocations: 0 / 0.5697 GB, free: 7.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.1986, allocations: 5.84 MB / 0.5754 GB, free: 1.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.686, allocations: 2.031 kB / 0.5754 GB, free: 1.898 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93951337179169] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'const.y', 'clock.y'] 8.811091674957424 8.827204046 8.668604896 Calling exit ...