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.001144/0.001144, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008871/0.0008871, allocations: 217.1 kB / 22.25 MB, free: 3.578 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.9509/0.9509, allocations: 230.6 MB / 256 MB, free: 9.617 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.8012/0.8012, allocations: 203.8 MB / 0.5042 GB, free: 10.01 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.001137/0.001137, allocations: 68.7 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5894, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001389/0.5908, allocations: 0.5952 MB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004218/0.5912, allocations: 165.7 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.5912, allocations: 4 kB / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.5912, allocations: 0 / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-06/0.5912, allocations: 0 / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.5916, allocations: 56.23 kB / 0.8186 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.5917, allocations: 0 / 0.8186 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.5917, allocations: 12.86 kB / 0.8186 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.5918, allocations: 3.984 kB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.5918, allocations: 0 / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.5918, allocations: 0 / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.592, allocations: 55.72 kB / 0.8187 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.592, allocations: 0 / 0.8187 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.592, allocations: 7.938 kB / 0.8187 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.5921, allocations: 36.5 kB / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5921, allocations: 0 / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5921, allocations: 0 / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5921, allocations: 0 / 0.8187 GB, free: 0.5156 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.0002185/0.5924, allocations: 248.5 kB / 0.819 GB, free: 260 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5924, allocations: 7.812 kB / 0.819 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.487e-05/0.5924, allocations: 30.75 kB / 0.819 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.5925, allocations: 3.297 kB / 0.819 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.087e-05/0.5925, allocations: 107 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5925, allocations: 6.312 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.5925, allocations: 384 / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.5926, allocations: 29.78 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5926, allocations: 3.938 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5926, allocations: 0 / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5926, allocations: 0 / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.5926, allocations: 6.969 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.5928, allocations: 120.4 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.934e-05/0.5928, allocations: 22.33 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.5928, allocations: 5.422 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.5933, allocations: 79.25 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5933, allocations: 30.56 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.5933, allocations: 0 / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.5935, allocations: 44.92 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.5935, allocations: 52.16 kB / 0.8195 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.884e-05/0.5935, allocations: 93.8 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5936, allocations: 31.27 kB / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.5936, allocations: 80.14 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.5936, allocations: 4.203 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.5936, allocations: 13.66 kB / 0.8197 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.5937, allocations: 312.2 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.5937, allocations: 1.75 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.5937, allocations: 0 / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.5938, allocations: 14.61 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5938, allocations: 3.938 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.784e-05/0.5938, allocations: 35.69 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5938, allocations: 4.188 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002971/0.5941, allocations: 4.734 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5941, allocations: 1.188 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-05/0.5942, allocations: 5.438 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5942, allocations: 0.7969 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-06/0.5942, allocations: 2.594 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.5942, allocations: 0 / 0.8201 GB, free: 15.09 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.522e-05/0.5943, allocations: 106.4 kB / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-06/0.5943, allocations: 8.219 kB / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.5944, allocations: 48.95 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5944, allocations: 0 / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5944, allocations: 2.984 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5944, allocations: 0 / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.193e-05/0.5944, allocations: 114.2 kB / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5944, allocations: 2.312 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-06/0.5944, allocations: 0.6094 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.5944, allocations: 0 / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.5944, allocations: 5.812 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5945, allocations: 3.938 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5945, allocations: 0.9375 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.111e-05/0.5945, allocations: 62.53 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.5945, allocations: 0.6562 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5945, allocations: 8.078 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-06/0.5945, allocations: 0 / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.5945, allocations: 0.5625 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.5945, allocations: 0 / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.308e-05/0.5946, allocations: 77.58 kB / 0.8205 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5946, allocations: 0 / 0.8205 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000146/0.5947, allocations: 16.31 kB / 0.8205 GB, free: 14.61 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.0003466/0.5951, allocations: 0.6152 MB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.5951, allocations: 10.25 kB / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5951, allocations: 0 / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.5951, allocations: 0 / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.5952, allocations: 4.109 kB / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.5955, allocations: 109.4 kB / 0.8212 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.5956, allocations: 57.61 kB / 0.8213 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.5956, allocations: 3.172 kB / 0.8213 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.5956, allocations: 11.38 kB / 0.8213 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.5956, allocations: 0 / 0.8213 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.6159, allocations: 1.647 MB / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.429/7.045, allocations: 5.438 kB / 0.8229 GB, free: 12.95 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.090704482980072] Failed to read output from testmodel.py, exit status != 0: 7.120919811073691 7.13226629 6.537843792 Calling exit ...