Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001348/0.001348, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00142/0.00142, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.47/1.47, 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.2266/0.2266, 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",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.003159/0.003159, allocations: 79.86 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1606, allocations: 65.99 MB / 0.5557 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003803/0.1644, allocations: 2.034 MB / 0.5577 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1668, allocations: 1.254 MB / 0.5589 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1669, allocations: 4 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1672, allocations: 55.5 kB / 0.5589 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.1677, allocations: 203.2 kB / 0.5591 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1687, allocations: 445.4 kB / 0.5596 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1691, allocations: 291.2 kB / 0.5598 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1693, allocations: 52.7 kB / 0.5599 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1695, allocations: 139.4 kB / 0.56 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1698, allocations: 195.3 kB / 0.5602 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.1699, allocations: 12 kB / 0.5602 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.17, allocations: 67.95 kB / 0.5603 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1702, allocations: 147.4 kB / 0.5604 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.1704, allocations: 166.6 kB / 0.5606 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.1709, allocations: 417.8 kB / 0.561 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1709, allocations: 4 kB / 0.561 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1709, allocations: 0 / 0.561 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1709, allocations: 0 / 0.561 GB, free: 0.9648 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001158/0.1721, allocations: 0.816 MB / 0.5618 GB, free: 100 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1721, allocations: 11.97 kB / 0.5618 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.1721, allocations: 46.73 kB / 0.5618 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.1724, allocations: 76.55 kB / 0.5619 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.1731, allocations: 472.2 kB / 0.5624 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1732, allocations: 8.375 kB / 0.5624 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.1732, allocations: 16.31 kB / 0.5624 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1734, allocations: 131.3 kB / 0.5625 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1735, allocations: 8 kB / 0.5625 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1735, allocations: 0 / 0.5625 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1735, allocations: 4 kB / 0.5625 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1737, allocations: 75.94 kB / 0.5626 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1747, allocations: 0.6994 MB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1749, allocations: 101.2 kB / 0.5634 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1751, allocations: 45.75 kB / 0.5634 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1751, allocations: 0 / 0.5634 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1751, allocations: 38.56 kB / 0.5635 GB, free: 14.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1751, allocations: 0 / 0.5635 GB, free: 14.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.00142/0.1765, allocations: 0.5312 MB / 0.564 GB, free: 13.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.1766, allocations: 85.11 kB / 0.5641 GB, free: 13.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.1777, allocations: 0.9181 MB / 0.5649 GB, free: 12.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1778, allocations: 29.7 kB / 0.565 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.178, allocations: 268.3 kB / 0.5652 GB, free: 12.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.1781, allocations: 59.52 kB / 0.5653 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.1781, allocations: 33.7 kB / 0.5653 GB, free: 12.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.1784, allocations: 374.8 kB / 0.5657 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1785, allocations: 51.97 kB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.1787, allocations: 73.86 kB / 0.5658 GB, free: 11.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.179, allocations: 141.7 kB / 0.5659 GB, free: 11.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.179, allocations: 3.938 kB / 0.5659 GB, free: 11.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004805/0.1795, allocations: 233.2 kB / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1795, allocations: 7.938 kB / 0.5662 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1795, allocations: 0 / 0.5662 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1796, allocations: 0 / 0.5662 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1798, allocations: 39.97 kB / 0.5662 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1798, allocations: 3.984 kB / 0.5662 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1799, allocations: 16 kB / 0.5662 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1799, allocations: 7.984 kB / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002469/0.1802, allocations: 213.7 kB / 0.5664 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1803, allocations: 59.8 kB / 0.5665 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.1809, allocations: 270.6 kB / 0.5668 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1809, allocations: 0 / 0.5668 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1809, allocations: 0 / 0.5668 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1809, allocations: 11.92 kB / 0.5668 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.1821, allocations: 0.7864 MB / 0.5675 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1821, allocations: 0 / 0.5675 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1823, allocations: 39.97 kB / 0.5676 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1823, allocations: 0 / 0.5676 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.1823, allocations: 11.98 kB / 0.5676 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1823, allocations: 3.938 kB / 0.5676 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1823, allocations: 3.938 kB / 0.5676 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.1829, allocations: 403.4 kB / 0.568 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.1831, allocations: 152.7 kB / 0.5681 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.1831, allocations: 0 / 0.5681 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.1833, allocations: 19.98 kB / 0.5681 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.1834, allocations: 15.92 kB / 0.5682 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1834, allocations: 7.984 kB / 0.5682 GB, free: 9.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008218/0.1842, allocations: 0.6708 MB / 0.5688 GB, free: 8.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1842, allocations: 0 / 0.5688 GB, free: 8.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.1846, allocations: 59.94 kB / 0.5689 GB, free: 8.488 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 (16): * Single equations (assignments): 16 * 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.002257/0.1869, allocations: 1.238 MB / 0.5701 GB, free: 7.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.1873, allocations: 135.8 kB / 0.5702 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1873, allocations: 0 / 0.5702 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.1875, allocations: 75.89 kB / 0.5703 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.188, allocations: 82.67 kB / 0.5704 GB, free: 7.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.1949, allocations: 5.062 MB / 0.5753 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.1954, allocations: 0.8614 MB / 0.5761 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.1956, allocations: 79.23 kB / 0.5762 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.1958, allocations: 171.4 kB / 0.5764 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1958, allocations: 4 kB / 0.5764 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.2312, allocations: 9.96 MB / 0.5861 GB, free: 6.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.909/9.14, allocations: 10.66 kB / 0.5861 GB, free: 6.895 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.449860786087811] Failed to read output from testmodel.py, exit status != 0: ['time', 'sine_R.y', 'sine_L.y', 'combiTable2D_1R.y', 'combiTable2D_2R.y', 'combiTable2D_1L.y', 'combiTable2D_2L.y', 'der_1R.y', 'der_2R.y', 'der_1L.y', 'der_2L.y'] 9.268626490142196 9.521900328 9.348100326 Calling exit ...