Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.00174/0.00174, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002047/0.002047, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.597/1.597, allocations: 230.2 MB / 254.5 MB, free: 15.37 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.2501/0.2501, allocations: 46.89 MB / 357.4 MB, free: 10.61 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",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.002255/0.002255, allocations: 75.88 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1617, allocations: 65.99 MB / 0.5557 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004192/0.1659, allocations: 2.113 MB / 0.5577 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.1691, allocations: 1.414 MB / 0.5591 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.1693, allocations: 4 kB / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.1698, allocations: 63.44 kB / 0.5592 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007719/0.1706, allocations: 211.1 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.1725, allocations: 0.6252 MB / 0.56 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.1732, allocations: 350.9 kB / 0.5603 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.1735, allocations: 64.7 kB / 0.5604 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.1739, allocations: 151.4 kB / 0.5605 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.1743, allocations: 211.2 kB / 0.5607 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.1743, allocations: 19.94 kB / 0.5608 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.1746, allocations: 71.91 kB / 0.5608 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.1749, allocations: 155.5 kB / 0.561 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.1751, allocations: 186.5 kB / 0.5611 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008407/0.176, allocations: 453.6 kB / 0.5616 GB, free: 388 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.176, allocations: 0 / 0.5616 GB, free: 388 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.176, allocations: 0 / 0.5616 GB, free: 388 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.176, allocations: 4 kB / 0.5616 GB, free: 384 kB / 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.001685/0.1777, allocations: 0.8548 MB / 0.5624 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.426e-05/0.1777, allocations: 12.03 kB / 0.5624 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.081e-05/0.1778, allocations: 42.73 kB / 0.5625 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005163/0.1784, allocations: 100.5 kB / 0.5626 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.1793, allocations: 0.497 MB / 0.5631 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1793, allocations: 8.375 kB / 0.5631 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.1793, allocations: 8.375 kB / 0.5631 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.1797, allocations: 167.3 kB / 0.5632 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1797, allocations: 4 kB / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1798, allocations: 0 / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1798, allocations: 4 kB / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1801, allocations: 119.8 kB / 0.5633 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1813, allocations: 0.7309 MB / 0.5641 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1816, allocations: 129.3 kB / 0.5642 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1818, allocations: 65.73 kB / 0.5642 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1818, allocations: 8 kB / 0.5643 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1818, allocations: 34.56 kB / 0.5643 GB, free: 13.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1818, allocations: 0 / 0.5643 GB, free: 13.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002226/0.1841, allocations: 0.7762 MB / 0.565 GB, free: 12.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.1841, allocations: 77.11 kB / 0.5651 GB, free: 12.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1853, allocations: 0.9338 MB / 0.566 GB, free: 11.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1853, allocations: 37.7 kB / 0.5661 GB, free: 11.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1856, allocations: 276.4 kB / 0.5663 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.407e-05/0.1856, allocations: 75.31 kB / 0.5664 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.1857, allocations: 41.69 kB / 0.5664 GB, free: 11.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1859, allocations: 310 kB / 0.5667 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.1862, allocations: 112.1 kB / 0.5668 GB, free: 10.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1864, allocations: 132 kB / 0.567 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.187, allocations: 257.4 kB / 0.5672 GB, free: 10.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.187, allocations: 4.688 kB / 0.5672 GB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007389/0.1878, allocations: 341 kB / 0.5675 GB, free: 9.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1878, allocations: 4 kB / 0.5676 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1878, allocations: 4 kB / 0.5676 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1878, allocations: 7.984 kB / 0.5676 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.1881, allocations: 55.95 kB / 0.5676 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1881, allocations: 0 / 0.5676 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1883, allocations: 19.98 kB / 0.5676 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.1883, allocations: 15.98 kB / 0.5676 GB, free: 9.879 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 (20): * Single equations (assignments): 20 * 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.0002631/0.1886, allocations: 221.8 kB / 0.5679 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1887, allocations: 67.58 kB / 0.5679 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/0.1896, allocations: 398.5 kB / 0.5683 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1896, allocations: 4 kB / 0.5683 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1896, allocations: 0 / 0.5683 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1896, allocations: 0 / 0.5683 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.1912, allocations: 0.9736 MB / 0.5693 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1912, allocations: 0 / 0.5693 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1915, allocations: 55.89 kB / 0.5693 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1915, allocations: 4 kB / 0.5693 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.1915, allocations: 11.98 kB / 0.5693 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1915, allocations: 0 / 0.5693 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1915, allocations: 3.938 kB / 0.5693 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.1924, allocations: 0.5099 MB / 0.5698 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.1926, allocations: 156.7 kB / 0.57 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.1927, allocations: 7.984 kB / 0.57 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.1929, allocations: 16.36 kB / 0.57 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.193, allocations: 27.84 kB / 0.57 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.193, allocations: 8 kB / 0.57 GB, free: 7.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008428/0.1938, allocations: 0.6903 MB / 0.5707 GB, free: 6.637 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1938, allocations: 3.938 kB / 0.5707 GB, free: 6.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.1942, allocations: 63.94 kB / 0.5708 GB, free: 6.57 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 (20): * Single equations (assignments): 20 * 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.002731/0.197, allocations: 1.348 MB / 0.5721 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.1978, allocations: 253 kB / 0.5723 GB, free: 5.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1978, allocations: 3.938 kB / 0.5723 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.1981, allocations: 135.8 kB / 0.5725 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.1988, allocations: 85.7 kB / 0.5725 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/0.2072, allocations: 5.526 MB / 0.5779 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.2078, allocations: 0.8848 MB / 0.5788 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.2081, allocations: 111.2 kB / 0.5789 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.2084, allocations: 183.4 kB / 0.5791 GB, free: 14.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2084, allocations: 4 kB / 0.5791 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/0.2457, allocations: 10.77 MB / 0.5896 GB, free: 3.332 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/9.041, allocations: 10.11 kB / 0.5896 GB, free: 3.324 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.718526436015964] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 9.165656751021743 9.484346663 9.304390649 Calling exit ...