Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0008752/0.0008752, 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.0012/0.0012, allocations: 222.9 kB / 22.26 MB, free: 3.691 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 1.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.797 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.8044/0.8044, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.001033/0.001033, allocations: 65.66 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4964, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001733/0.4981, allocations: 1.461 MB / 0.8193 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.4985, allocations: 253.9 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.4986, allocations: 0 / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.4986, allocations: 3.938 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.4986, allocations: 1.766 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.4989, allocations: 66.27 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.499, allocations: 22.62 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.4991, allocations: 4.234 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.4991, allocations: 13.41 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.4992, allocations: 5.844 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.4992, allocations: 7.312 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.4993, allocations: 61.97 kB / 0.8197 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.4993, allocations: 9.016 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.4993, allocations: 9.109 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.4995, allocations: 50.08 kB / 0.8198 GB, free: 0 / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4995, allocations: 0 / 0.8198 GB, free: 0 / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4995, allocations: 0 / 0.8198 GB, free: 0 / 0.6042 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4995, allocations: 0 / 0.8198 GB, free: 0 / 0.6042 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.0003659/0.4998, allocations: 270.8 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4999, allocations: 14.56 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.4999, allocations: 35.45 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.4999, allocations: 2.906 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.5, allocations: 121.6 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5, allocations: 1.125 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.5, allocations: 1.844 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5002, allocations: 51.45 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5002, allocations: 3.938 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.5002, allocations: 0 / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.5002, allocations: 4 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.5003, allocations: 32.33 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.5005, allocations: 217.9 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.219e-05/0.5006, allocations: 45.23 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.5007, allocations: 24.59 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.501, allocations: 71.67 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.501, allocations: 35.11 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.501, allocations: 0 / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002253/0.5013, allocations: 89.06 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5013, allocations: 52.2 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.5013, allocations: 101.6 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.5014, allocations: 25.7 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.5014, allocations: 80.75 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.5014, allocations: 10.67 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.5014, allocations: 18.23 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.5015, allocations: 312 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.5015, allocations: 16.66 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.5016, allocations: 15.81 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.5017, allocations: 35.31 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5017, allocations: 14.25 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.5018, allocations: 74.42 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5018, allocations: 7.062 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5018, allocations: 0 / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5018, allocations: 0.6094 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.5019, allocations: 7.297 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5019, allocations: 0 / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.5019, allocations: 13.83 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.5019, allocations: 0 / 0.8215 GB, free: 14.42 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.091e-05/0.5019, allocations: 110.9 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.502, allocations: 2.375 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.5021, allocations: 75.2 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5021, allocations: 0 / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5021, allocations: 4.125 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5021, allocations: 4.734 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.5022, allocations: 136.2 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5022, allocations: 0 / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.5022, allocations: 12.53 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5022, allocations: 0.6094 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.5022, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.5022, allocations: 0.8438 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5023, allocations: 0.6094 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.5024, allocations: 167.4 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.5024, allocations: 10.38 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.5024, allocations: 0.75 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.5024, allocations: 5.594 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.5025, allocations: 3.797 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.5025, allocations: 0 / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.886e-05/0.5025, allocations: 84.56 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5025, allocations: 4.031 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001667/0.5027, allocations: 21.67 kB / 0.8221 GB, free: 13.84 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.0004092/0.5031, allocations: 0.7088 MB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.5032, allocations: 34.55 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5032, allocations: 0 / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.5033, allocations: 23.12 kB / 0.8229 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.5035, allocations: 8.688 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.5038, allocations: 139.4 kB / 0.823 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.504, allocations: 0.6804 MB / 0.8237 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.504, allocations: 0 / 0.8237 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.5041, allocations: 13.94 kB / 0.8237 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of SimCode: time 9.41e-07/0.5041, allocations: 0 / 0.8237 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.5196, allocations: 1.629 MB / 0.8253 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.409/6.929, allocations: 3.312 kB / 0.8253 GB, free: 11.85 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.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_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.12372985179536] Failed to read output from testmodel.py, exit status != 0: 7.0052797549869865 7.022881469 6.520428241 Calling exit ...