Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.0008504/0.0008504, 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.001206/0.001206, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9878/0.9878, allocations: 230.6 MB / 256 MB, free: 9.809 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.8346/0.8346, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",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.0008605/0.0008605, allocations: 67.2 kB / 0.7183 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5846, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001315/0.5859, allocations: 0.5966 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.5863, allocations: 180.8 kB / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.273e-05/0.5863, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.5863, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/0.5863, allocations: 0 / 0.8187 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.5867, allocations: 60.86 kB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.5867, allocations: 6.453 kB / 0.8187 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.5868, allocations: 5 kB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.5868, allocations: 3.781 kB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.32e-05/0.5868, allocations: 1.734 kB / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.5868, allocations: 0 / 0.8187 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.587, allocations: 57.05 kB / 0.8188 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.587, allocations: 4.875 kB / 0.8188 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.587, allocations: 2.219 kB / 0.8188 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.5871, allocations: 30.33 kB / 0.8188 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5871, allocations: 0 / 0.8188 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5871, allocations: 4 kB / 0.8188 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5871, allocations: 0 / 0.8188 GB, free: 0.6836 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.000197/0.5873, allocations: 247.6 kB / 0.8191 GB, free: 432 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5874, allocations: 11.72 kB / 0.8191 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.193e-05/0.5874, allocations: 32.72 kB / 0.8191 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.5874, allocations: 0.9375 kB / 0.8191 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.519e-05/0.5875, allocations: 103.4 kB / 0.8192 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5875, allocations: 2.312 kB / 0.8192 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.5875, allocations: 384 / 0.8192 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.5876, allocations: 41.59 kB / 0.8192 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.5876, allocations: 3.938 kB / 0.8192 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.5876, allocations: 2.312 kB / 0.8192 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5876, allocations: 0 / 0.8192 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.5876, allocations: 0 / 0.8192 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.582e-05/0.5877, allocations: 116 kB / 0.8194 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/0.5877, allocations: 20.95 kB / 0.8194 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.5877, allocations: 7.234 kB / 0.8194 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/0.5882, allocations: 80.8 kB / 0.8195 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.5882, allocations: 31.69 kB / 0.8195 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5882, allocations: 1.438 kB / 0.8195 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.5883, allocations: 47.44 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.5884, allocations: 55.44 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.656e-05/0.5884, allocations: 89.86 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5884, allocations: 27.8 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.5884, allocations: 80.14 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.5884, allocations: 3.984 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.5885, allocations: 13.16 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.5886, allocations: 315.5 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-06/0.5886, allocations: 1.438 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-06/0.5886, allocations: 6.094 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.5886, allocations: 7.094 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5886, allocations: 3.844 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.944e-05/0.5886, allocations: 38.72 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5887, allocations: 7.75 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5887, allocations: 3.938 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5887, allocations: 0.6094 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.5887, allocations: 2.531 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5887, allocations: 4.75 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-06/0.5887, allocations: 0 / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.5887, allocations: 0 / 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 5.422e-05/0.5888, allocations: 112.3 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-06/0.5888, allocations: 4.75 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.5889, allocations: 42.48 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5889, allocations: 0 / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5889, allocations: 3.406 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5889, allocations: 8.766 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.542e-05/0.5889, allocations: 114 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.5889, allocations: 3.938 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.5889, allocations: 8.328 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5889, allocations: 0.5625 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.589, allocations: 3.938 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.589, allocations: 0 / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.589, allocations: 0.8906 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.046e-05/0.589, allocations: 60.62 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.589, allocations: 1.625 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.589, allocations: 4.688 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-06/0.589, allocations: 2.312 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.589, allocations: 0.6562 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.589, allocations: 0 / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.5891, allocations: 78.28 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5891, allocations: 0 / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001393/0.5892, allocations: 15.83 kB / 0.8206 GB, free: 14.76 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.0005081/0.5897, allocations: 0.6138 MB / 0.8212 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.5898, allocations: 7.516 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5898, allocations: 0 / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.5898, allocations: 2.406 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.99e-05/0.5899, allocations: 2.062 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.5901, allocations: 115.3 kB / 0.8213 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.5903, allocations: 0.6702 MB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.658e-06/0.5903, allocations: 0.6094 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.5903, allocations: 11.03 kB / 0.822 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5903, allocations: 3.938 kB / 0.822 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.6083, allocations: 1.243 MB / 0.8232 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/7.181, allocations: 10.94 kB / 0.8232 GB, free: 12.89 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_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_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.24047420406714] Failed to read output from testmodel.py, exit status != 0: 7.256926115136594 7.269523719 6.680472249 Calling exit ...