Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 214.9 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8397/0.8397, allocations: 134 MB / 446.4 MB, free: 9.93 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 66.33 kB / 0.6185 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1841, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.0026/0.1867, allocations: 1.448 MB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.1872, allocations: 244.1 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.1872, allocations: 0 / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.1872, allocations: 0 / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.1873, allocations: 3.938 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1876, allocations: 67.8 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.1876, allocations: 15.94 kB / 0.7041 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/0.1877, allocations: 7.984 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1877, allocations: 7.938 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.1878, allocations: 11.98 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1878, allocations: 7.984 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1879, allocations: 59.89 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.1879, allocations: 11.92 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.188, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1881, allocations: 60.08 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1881, allocations: 0 / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1881, allocations: 0 / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1881, allocations: 0 / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004179/0.1885, allocations: 270.2 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1886, allocations: 12.03 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.1886, allocations: 34.73 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.1886, allocations: 8.875 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.945e-05/0.1887, allocations: 110.5 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1887, allocations: 4.312 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.1887, allocations: 384 / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1889, allocations: 54.23 kB / 0.7047 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1889, allocations: 3.938 kB / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1889, allocations: 0 / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1889, allocations: 3.984 kB / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.1891, allocations: 35.97 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.1894, allocations: 212.1 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1895, allocations: 42.44 kB / 0.705 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.1896, allocations: 28.89 kB / 0.705 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/0.1901, allocations: 83.92 kB / 0.7051 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1901, allocations: 30.56 kB / 0.7052 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1901, allocations: 3.938 kB / 0.7052 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.1905, allocations: 81.64 kB / 0.7052 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1905, allocations: 55.34 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.1906, allocations: 97.84 kB / 0.7054 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1906, allocations: 29.83 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1907, allocations: 88.14 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.1907, allocations: 3.953 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.1907, allocations: 13.72 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1908, allocations: 318.8 kB / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.1909, allocations: 11.98 kB / 0.7058 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.191, allocations: 19.98 kB / 0.7058 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1911, allocations: 40.88 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1912, allocations: 7.938 kB / 0.7059 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1913, allocations: 65.56 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1914, allocations: 8 kB / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1914, allocations: 0 / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1914, allocations: 0 / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/0.1915, allocations: 7.984 kB / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1915, allocations: 0 / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1915, allocations: 12.02 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1915, allocations: 4 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB 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 7.502e-05/0.1916, allocations: 113.8 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1916, allocations: 0 / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1918, allocations: 68.97 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1918, allocations: 0 / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1918, allocations: 0 / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1918, allocations: 3.984 kB / 0.7062 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.192, allocations: 128.7 kB / 0.7063 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.192, allocations: 3.938 kB / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.192, allocations: 15.92 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.192, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.192, allocations: 0 / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1921, allocations: 3.984 kB / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1921, allocations: 0 / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1923, allocations: 171.5 kB / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.1923, allocations: 11.92 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1923, allocations: 3.938 kB / 0.7065 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1924, allocations: 7.984 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1924, allocations: 0 / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1924, allocations: 4 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.1925, allocations: 83.27 kB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1925, allocations: 4 kB / 0.7066 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002277/0.1927, allocations: 12 kB / 0.7066 GB, free: 12.45 MB / 0.5294 GB 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.0006262/0.1933, allocations: 0.7201 MB / 0.7073 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1935, allocations: 31.97 kB / 0.7073 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1935, allocations: 0 / 0.7073 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.1936, allocations: 32 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1938, allocations: 2.5 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.1943, allocations: 135.2 kB / 0.7075 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.01e-05/0.1943, allocations: 67.2 kB / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.1943, allocations: 0 / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.1944, allocations: 11.77 kB / 0.7076 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1944, allocations: 0 / 0.7076 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.2244, allocations: 2.043 MB / 0.7096 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.19, allocations: 6.938 kB / 0.7096 GB, free: 9.453 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.742529388982803] Failed to read output from testmodel.py, exit status != 0: 11.297862094826996 11.323316857 11.130858912 Calling exit ...