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.00117/0.00117, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001059/0.001059, allocations: 206.5 kB / 22.24 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.9693/0.9693, allocations: 230.6 MB / 256 MB, free: 9.602 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.7808/0.7808, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009661/0.0009661, allocations: 66.42 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.601, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001711/0.6027, allocations: 0.5921 MB / 0.8184 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005405/0.6032, allocations: 189.6 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.6032, allocations: 2.594 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.6032, allocations: 4 kB / 0.8186 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.074e-05/0.6033, allocations: 0 / 0.8186 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.6038, allocations: 49.14 kB / 0.8186 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.6039, allocations: 0.7969 kB / 0.8186 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.604, allocations: 0.9844 kB / 0.8186 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.604, allocations: 4.906 kB / 0.8186 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.515e-05/0.604, allocations: 3.984 kB / 0.8187 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.604, allocations: 0.9062 kB / 0.8187 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.6043, allocations: 64.62 kB / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.6043, allocations: 0 / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.6043, allocations: 0 / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.6045, allocations: 42.75 kB / 0.8188 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6045, allocations: 0 / 0.8188 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.687e-06/0.6046, allocations: 0 / 0.8188 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.6046, allocations: 0 / 0.8188 GB, free: 0.5117 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.0003492/0.6049, allocations: 242.5 kB / 0.819 GB, free: 260 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.605, allocations: 14.41 kB / 0.819 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.605, allocations: 31.41 kB / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.6051, allocations: 0.9375 kB / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.504e-05/0.6051, allocations: 105.3 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6051, allocations: 8.312 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.6052, allocations: 1.844 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.6053, allocations: 34.52 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6053, allocations: 3.938 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6053, allocations: 0.6094 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6053, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.6054, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.6055, allocations: 117.3 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.6056, allocations: 24.19 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.6056, allocations: 6.953 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.6062, allocations: 74.52 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6063, allocations: 35.94 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.073e-06/0.6063, allocations: 0 / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000171/0.6064, allocations: 41.08 kB / 0.8195 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.6065, allocations: 51.41 kB / 0.8195 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.973e-05/0.6065, allocations: 91.3 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.6065, allocations: 26.31 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.6066, allocations: 84.27 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.6066, allocations: 1.344 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.6066, allocations: 20.98 kB / 0.8197 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6067, allocations: 311.6 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.6068, allocations: 3.281 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.6068, allocations: 0.6562 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.6068, allocations: 8.828 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6068, allocations: 0 / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.288e-05/0.6069, allocations: 30.47 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6069, allocations: 9.344 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6069, allocations: 9.938 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.6069, allocations: 3.984 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.607, allocations: 2.812 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.607, allocations: 4.922 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-06/0.607, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.607, allocations: 3.938 kB / 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 8.038e-05/0.6071, allocations: 112.8 kB / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-06/0.6071, allocations: 0 / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.6072, allocations: 48.22 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6072, allocations: 4.031 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6072, allocations: 3.281 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6072, allocations: 0 / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.327e-05/0.6073, allocations: 118.4 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6073, allocations: 0 / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.6073, allocations: 4.156 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6073, allocations: 0 / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.6074, allocations: 4.5 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6074, allocations: 0 / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6074, allocations: 0 / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.343e-05/0.6074, allocations: 62.64 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.6074, allocations: 0.75 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.6074, allocations: 9.75 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-06/0.6074, allocations: 0 / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.6075, allocations: 2.391 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.6075, allocations: 0 / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.6075, allocations: 77.58 kB / 0.8205 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.6075, allocations: 2.812 kB / 0.8205 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001634/0.6077, allocations: 15.3 kB / 0.8205 GB, free: 14.6 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.0004526/0.6081, allocations: 0.6103 MB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.6082, allocations: 4.938 kB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6082, allocations: 0 / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.6082, allocations: 1.75 kB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.6083, allocations: 1.062 kB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.6086, allocations: 111.7 kB / 0.8213 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.6086, allocations: 59.05 kB / 0.8213 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.105e-05/0.6087, allocations: 0 / 0.8213 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.6087, allocations: 10.44 kB / 0.8213 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.6087, allocations: 0 / 0.8213 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.6253, allocations: 1.661 MB / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.485/7.11, allocations: 11.94 kB / 0.823 GB, free: 12.95 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.130172597710043] Failed to read output from testmodel.py, exit status != 0: 7.186596740037203 7.197318014 6.590559636 Calling exit ...