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.0008529/0.0008529, 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.000825/0.000825, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9974/0.9974, allocations: 230.6 MB / 256 MB, free: 9.621 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.7755/0.7755, allocations: 203.8 MB / 0.5042 GB, free: 9.996 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.0008954/0.0008954, allocations: 66.78 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4959, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001854/0.4977, allocations: 1.448 MB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.4982, allocations: 260.3 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.4983, allocations: 1.469 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.4983, allocations: 0.6562 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.4983, allocations: 3.938 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.4987, allocations: 55.5 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.4988, allocations: 23.41 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.4989, allocations: 9.281 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.4989, allocations: 7.359 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.499, allocations: 15.17 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.499, allocations: 3.5 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.4991, allocations: 60.08 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.4991, allocations: 7.312 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.4991, allocations: 9.594 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.4993, allocations: 55.05 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4993, allocations: 0.5625 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4993, allocations: 0 / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4993, allocations: 0 / 0.8197 GB, free: 15.78 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.000636/0.4999, allocations: 270.5 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5, allocations: 13.03 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.5, allocations: 31.41 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.5, allocations: 2.406 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.108e-05/0.5001, allocations: 115.4 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.5001, allocations: 384 / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.5001, allocations: 2.656 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.5002, allocations: 52.59 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.5002, allocations: 3.938 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.5002, allocations: 1.062 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5002, allocations: 0 / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.5003, allocations: 37.39 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.5006, allocations: 215.4 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.5007, allocations: 43.64 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.5007, allocations: 24.84 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/0.5011, allocations: 78.67 kB / 0.8206 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.5012, allocations: 31.78 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.5012, allocations: 0 / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002637/0.5014, allocations: 80.34 kB / 0.8207 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.5015, allocations: 55.22 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.5015, allocations: 104.2 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.5015, allocations: 25.7 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.5016, allocations: 85.12 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.5016, allocations: 14.23 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.5016, allocations: 11.75 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.5017, allocations: 317.7 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.5017, allocations: 14.28 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.5018, allocations: 14.31 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.5019, allocations: 44.67 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5019, allocations: 5.031 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.502, allocations: 66.88 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.502, allocations: 6.188 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.502, allocations: 4 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.502, allocations: 0.5156 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.5021, allocations: 16.61 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5021, allocations: 3.531 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.5021, allocations: 3.766 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.5021, allocations: 2.062 kB / 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.269e-05/0.5022, allocations: 111.5 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.5022, allocations: 2.656 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.5023, allocations: 74.31 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5024, allocations: 5.578 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5024, allocations: 4.031 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5024, allocations: 0.6094 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.5025, allocations: 129.5 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.5025, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.5025, allocations: 9.516 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5025, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.5025, allocations: 0.6094 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5025, allocations: 7.562 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5025, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5026, allocations: 167.8 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-06/0.5026, allocations: 4.562 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.5026, allocations: 0 / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.5027, allocations: 10.55 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.5027, allocations: 1.781 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.5027, allocations: 0.7812 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.5027, allocations: 92.12 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5027, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001566/0.5029, allocations: 17.19 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.0003873/0.5033, allocations: 0.7076 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.5034, allocations: 35.16 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.5034, allocations: 5.031 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.5035, allocations: 24.02 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.5037, allocations: 4.156 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.0003647/0.504, allocations: 144.6 kB / 0.8229 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.94e-05/0.5041, allocations: 60.22 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.5041, allocations: 0.5156 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.5041, allocations: 13 kB / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.5041, allocations: 4.062 kB / 0.823 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.5186, allocations: 2.051 MB / 0.825 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/7.136, allocations: 9.625 kB / 0.825 GB, free: 11.85 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.194799852091819] Failed to read output from testmodel.py, exit status != 0: 7.214154716115445 7.226793057 6.725206168 Calling exit ...