Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001272/0.001272, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001258/0.001258, allocations: 221.7 kB / 22.26 MB, free: 3.695 MB / 13.93 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 0.9374/0.9374, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7685/0.7685, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.0008682/0.0008682, allocations: 71.41 kB / 0.7183 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5905, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001304/0.5918, allocations: 0.5936 MB / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.5922, allocations: 200.8 kB / 0.8187 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.5922, allocations: 0 / 0.8187 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.5922, allocations: 0 / 0.8187 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.5923, allocations: 7.875 kB / 0.8187 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.5927, allocations: 52.92 kB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.5927, allocations: 2.906 kB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.5927, allocations: 0.7031 kB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.5928, allocations: 0 / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.497e-05/0.5928, allocations: 11.08 kB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.5928, allocations: 0 / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.593, allocations: 64.86 kB / 0.8188 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.593, allocations: 0 / 0.8188 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.593, allocations: 3.719 kB / 0.8188 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.5931, allocations: 36.78 kB / 0.8188 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5931, allocations: 2.656 kB / 0.8188 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5931, allocations: 0 / 0.8188 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5931, allocations: 0 / 0.8188 GB, free: 0.6797 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001989/0.5933, allocations: 239.7 kB / 0.8191 GB, free: 432 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5934, allocations: 14.3 kB / 0.8191 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.311e-05/0.5934, allocations: 37.5 kB / 0.8191 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.5934, allocations: 4.938 kB / 0.8191 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.738e-05/0.5935, allocations: 103.4 kB / 0.8192 GB, free: 252 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5935, allocations: 4.312 kB / 0.8192 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.5935, allocations: 3.266 kB / 0.8192 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.5936, allocations: 27.06 kB / 0.8193 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5936, allocations: 11.16 kB / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.5936, allocations: 0 / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5936, allocations: 0 / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.5936, allocations: 4.609 kB / 0.8193 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.589e-05/0.5937, allocations: 119.4 kB / 0.8194 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.236e-05/0.5937, allocations: 18.73 kB / 0.8194 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.5937, allocations: 5.422 kB / 0.8194 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.5942, allocations: 77.89 kB / 0.8195 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5942, allocations: 30.56 kB / 0.8195 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.5942, allocations: 1.562 kB / 0.8195 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.5943, allocations: 43.84 kB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.5944, allocations: 51.41 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.899e-05/0.5944, allocations: 90.66 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.5944, allocations: 25.83 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.5944, allocations: 90.14 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.5945, allocations: 0 / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.5945, allocations: 17.94 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.5946, allocations: 311.8 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.5946, allocations: 0 / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.5946, allocations: 0 / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.5946, allocations: 14.53 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5946, allocations: 4.062 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.487e-05/0.5947, allocations: 34.58 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5947, allocations: 7.281 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5947, allocations: 3.938 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5947, allocations: 0 / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.5948, allocations: 2.828 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5948, allocations: 0 / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.5948, allocations: 0 / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5948, allocations: 1.125 kB / 0.8202 GB, free: 15.25 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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 6.661e-05/0.5948, allocations: 117.1 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.5948, allocations: 1.594 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.5949, allocations: 53.3 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5949, allocations: 3.938 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.5949, allocations: 0 / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5949, allocations: 1.828 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.101e-05/0.595, allocations: 115.3 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.595, allocations: 0 / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.595, allocations: 2.766 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.595, allocations: 32 / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.595, allocations: 13.84 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.595, allocations: 0 / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.595, allocations: 0 / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.398e-05/0.5951, allocations: 61.86 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.5951, allocations: 2.562 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.5951, allocations: 4.594 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-06/0.5951, allocations: 0 / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.5951, allocations: 5.234 kB / 0.8205 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5951, allocations: 4.156 kB / 0.8206 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.099e-05/0.5951, allocations: 77.58 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5951, allocations: 0 / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001426/0.5953, allocations: 15.28 kB / 0.8206 GB, free: 14.75 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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.0003252/0.5956, allocations: 0.605 MB / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.5957, allocations: 7.203 kB / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5957, allocations: 0 / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.069e-06/0.5957, allocations: 2.328 kB / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.5958, allocations: 9.906 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.5961, allocations: 109.9 kB / 0.8214 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.5963, allocations: 0.6715 MB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.5963, allocations: 0.5156 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.5963, allocations: 9.812 kB / 0.822 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5963, allocations: 0 / 0.822 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.6137, allocations: 1.254 MB / 0.8232 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/7.259, allocations: 3.609 kB / 0.8232 GB, free: 12.9 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.236158557934687] Failed to read output from testmodel.py, exit status != 0: 7.333188893971965 7.347252548 6.752026319 Calling exit ...