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.0007899/0.0007899, allocations: 101.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.0008371/0.0008371, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.944/0.944, allocations: 230.6 MB / 256 MB, free: 9.605 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.7704/0.7704, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.001342/0.001342, allocations: 67.14 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4952, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002078/0.4972, allocations: 1.457 MB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004484/0.4977, allocations: 234.6 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.4977, allocations: 1.094 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.4977, allocations: 4.641 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.4978, allocations: 4.844 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.4981, allocations: 61.34 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.4982, allocations: 20.44 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.4983, allocations: 12.36 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.4983, allocations: 9.406 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.4984, allocations: 9.609 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.4984, allocations: 0 / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.4985, allocations: 60.36 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.4985, allocations: 4.516 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.4986, allocations: 7.031 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.4987, allocations: 57.64 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4987, allocations: 4.656 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4987, allocations: 0 / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4987, allocations: 0 / 0.8197 GB, free: 15.79 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.0003632/0.4991, allocations: 272.6 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4991, allocations: 9.188 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.4992, allocations: 32.59 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.4992, allocations: 3.562 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.4993, allocations: 111.2 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4993, allocations: 4.375 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.4993, allocations: 384 / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4994, allocations: 53.67 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4994, allocations: 3.938 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.4994, allocations: 0 / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4994, allocations: 1.438 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.4995, allocations: 31.69 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.4998, allocations: 219.4 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.023e-05/0.4999, allocations: 41.62 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.4999, allocations: 27 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.5002, allocations: 75 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5003, allocations: 34.86 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5003, allocations: 0 / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002214/0.5005, allocations: 88.58 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5005, allocations: 51.41 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.5006, allocations: 99.23 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.5006, allocations: 26.48 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.5006, allocations: 83.69 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.5006, allocations: 8.547 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.5007, allocations: 17.77 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.5007, allocations: 312.1 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.5008, allocations: 17.58 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.5008, allocations: 18.25 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.176e-05/0.5009, allocations: 38.56 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5009, allocations: 11.81 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001099/0.501, allocations: 67.56 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.501, allocations: 12.84 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.501, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5011, allocations: 0.9844 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.5011, allocations: 11.02 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5011, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.5011, allocations: 6.969 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.5011, allocations: 0 / 0.8214 GB, free: 14.21 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.516e-05/0.5012, allocations: 117.3 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.5012, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.5016, allocations: 83.62 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5016, allocations: 0 / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5017, allocations: 2.125 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5017, allocations: 0 / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.5018, allocations: 128.9 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5018, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.5018, allocations: 9.109 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5018, allocations: 0.7031 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.5018, allocations: 8.031 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5018, allocations: 2.469 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5018, allocations: 0.75 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.5019, allocations: 162.2 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-06/0.5019, allocations: 4.766 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.502, allocations: 3.703 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.502, allocations: 8.281 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.502, allocations: 3.062 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.502, allocations: 5.312 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.502, allocations: 81.17 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.502, allocations: 0 / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001573/0.5022, allocations: 16.55 kB / 0.822 GB, free: 13.64 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.0003822/0.5026, allocations: 0.7103 MB / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.5027, allocations: 40.92 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5027, allocations: 0 / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.5028, allocations: 19.97 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.5029, allocations: 7.078 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.5032, allocations: 147.4 kB / 0.8229 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.5033, allocations: 61.98 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.5033, allocations: 0.6562 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.5033, allocations: 15.14 kB / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5033, allocations: 0 / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.5169, allocations: 2.045 MB / 0.825 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/7.097, allocations: 6.125 kB / 0.825 GB, free: 11.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 9.972411022987217] Failed to read output from testmodel.py, exit status != 0: 7.176212209742516 7.187715132 6.686721317 Calling exit ...