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.0009669/0.0009669, allocations: 101.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.000898/0.000898, allocations: 212 kB / 22.25 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 1.011/1.011, 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.7987/0.7987, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001419/0.001419, allocations: 68.36 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5304, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001987/0.5324, allocations: 1.455 MB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004876/0.5328, allocations: 237.9 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.5329, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.5329, allocations: 4.547 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.5329, allocations: 3.938 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.5333, allocations: 64.56 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.5334, allocations: 21.14 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.5334, allocations: 2.781 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.457e-05/0.5335, allocations: 9.641 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.5335, allocations: 11.38 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.5335, allocations: 3.984 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.5337, allocations: 57.81 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.5337, allocations: 9.688 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.5337, allocations: 2.906 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.5339, allocations: 58.14 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5339, allocations: 4 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.766e-06/0.5339, allocations: 0 / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5339, 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.000464/0.5344, allocations: 269.7 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.5344, allocations: 14.33 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.5345, allocations: 30.75 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.5345, allocations: 3.203 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5346, allocations: 111.2 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5346, allocations: 384 / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.5346, allocations: 4.281 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5348, allocations: 50.8 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5348, allocations: 3.938 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.5348, allocations: 1.375 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5348, allocations: 0 / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.5349, allocations: 35.91 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.5354, allocations: 219.8 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.5355, allocations: 44.58 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.5356, allocations: 24.53 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/0.536, allocations: 76.55 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.536, allocations: 31.22 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.536, allocations: 3.938 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002231/0.5362, allocations: 88.31 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.5362, allocations: 51.41 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.5363, allocations: 97.17 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5363, allocations: 25.7 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.5363, allocations: 86.28 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.5363, allocations: 9.781 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.5364, allocations: 12.75 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.5365, allocations: 317.5 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.5365, allocations: 18.88 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.5366, allocations: 18.05 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.5366, allocations: 36.86 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5367, allocations: 3.938 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000126/0.5368, allocations: 75.72 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5368, allocations: 6.141 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5368, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5368, allocations: 0.7031 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.5369, allocations: 8.156 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5369, allocations: 0.5156 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.5369, allocations: 10.92 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.5369, 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 6.333e-05/0.537, allocations: 119.3 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.537, allocations: 4.734 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.5372, allocations: 74.05 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5372, allocations: 0.6562 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5372, allocations: 1.031 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5372, allocations: 0 / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.5373, allocations: 129.3 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5373, allocations: 0.7031 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.5374, allocations: 8.625 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5374, allocations: 0.6875 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5374, allocations: 5.562 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5374, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5374, allocations: 0.5625 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.5375, allocations: 163.9 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.5376, allocations: 10.41 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.5376, allocations: 4.453 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.5376, allocations: 6.406 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.5376, allocations: 2.875 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.5376, allocations: 4.688 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.907e-05/0.5377, allocations: 84.25 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5377, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001632/0.5378, allocations: 18.11 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.0003723/0.5382, allocations: 0.715 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.5383, allocations: 38.47 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5383, allocations: 0 / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.5384, allocations: 22.91 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.0001827/0.5386, allocations: 7.781 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.5389, allocations: 140.6 kB / 0.8229 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.5389, allocations: 64.2 kB / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.539, allocations: 0 / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.539, allocations: 16.06 kB / 0.823 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.539, allocations: 0 / 0.823 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.5571, allocations: 2.047 MB / 0.825 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.555/7.113, allocations: 2.312 kB / 0.825 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.232195379212499] Failed to read output from testmodel.py, exit status != 0: 7.191251805052161 7.203111887 6.667060155 Calling exit ...