Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000937/0.000937, allocations: 113.9 kB / 18.94 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.001751/0.001751, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9514/0.9514, allocations: 230.6 MB / 256 MB, free: 9.805 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.7767/0.7767, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_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.001478/0.001478, allocations: 66.12 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.455, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001719/0.4567, allocations: 1.458 MB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.4571, allocations: 269.9 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.4571, allocations: 2.312 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.4571, allocations: 3.938 kB / 0.8195 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.4571, allocations: 8.719 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4575, allocations: 56.14 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.996e-05/0.4575, allocations: 19.02 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.4576, allocations: 4.047 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.4577, allocations: 17.8 kB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.4577, allocations: 12.27 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.4577, allocations: 2.031 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.4578, allocations: 64.67 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.4578, allocations: 4.75 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.4579, allocations: 11.62 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.458, allocations: 55.94 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.458, allocations: 3.312 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.458, allocations: 0 / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.458, allocations: 0 / 0.8198 GB, free: 15.96 MB / 0.6198 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.0003527/0.4584, allocations: 272.2 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4584, allocations: 10.12 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.4584, allocations: 35.31 kB / 0.8201 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.4585, allocations: 5.5 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.4585, allocations: 111.7 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.4586, allocations: 384 / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4586, allocations: 2.875 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.4587, allocations: 48.45 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4587, allocations: 7.938 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.4587, allocations: 0 / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4587, allocations: 1.844 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.4588, allocations: 40.27 kB / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.4591, allocations: 218.7 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.4592, allocations: 42.81 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.4592, allocations: 24.33 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.4596, allocations: 73 kB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4597, allocations: 45.23 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4597, allocations: 0 / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.4599, allocations: 74.95 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.4599, allocations: 54.56 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.46, allocations: 104.3 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.46, allocations: 25.7 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.4601, allocations: 88.97 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.4601, allocations: 5.234 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.4601, allocations: 13.12 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.4602, allocations: 314.3 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.4602, allocations: 18 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.4603, allocations: 13.05 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/0.4603, allocations: 49.36 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4604, allocations: 3.938 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/0.4605, allocations: 66.58 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4605, allocations: 7.938 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4605, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4605, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.4606, allocations: 14.48 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4606, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.4606, allocations: 6.266 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.4606, allocations: 0 / 0.8215 GB, free: 14.39 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 (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 5.446e-05/0.4606, allocations: 111.9 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.4607, allocations: 1.938 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4608, allocations: 84.05 kB / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4608, allocations: 0 / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4608, allocations: 0.5625 kB / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4608, allocations: 0 / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.4609, allocations: 134.5 kB / 0.8218 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4609, allocations: 5.062 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.4609, allocations: 10.8 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4609, allocations: 0 / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.4609, allocations: 0.5625 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.4609, allocations: 0 / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4609, allocations: 0 / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.4611, allocations: 170.5 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.4611, allocations: 10.02 kB / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4611, allocations: 7.469 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.4611, allocations: 6.438 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.4612, allocations: 0.75 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4612, allocations: 4.734 kB / 0.822 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.4612, allocations: 87.55 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4612, allocations: 1.781 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000156/0.4613, allocations: 16.97 kB / 0.8221 GB, free: 13.8 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 (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.0003731/0.4617, allocations: 0.7045 MB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.4618, allocations: 41.03 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4618, allocations: 0 / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.4619, allocations: 23.59 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.4621, allocations: 4.75 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.4624, allocations: 140.6 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.4626, allocations: 0.6753 MB / 0.8237 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.4626, allocations: 3.781 kB / 0.8237 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.4626, allocations: 12.14 kB / 0.8237 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.4626, allocations: 4.062 kB / 0.8237 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.481, allocations: 1.632 MB / 0.8253 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/7.311, allocations: 6.156 kB / 0.8253 GB, free: 11.81 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.245246649952605] Failed to read output from testmodel.py, exit status != 0: 7.388478039065376 7.402498709 6.942103749 Calling exit ...