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.001229/0.001229, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000823/0.000823, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.7455/0.7455, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.5e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002121/0.002146, allocations: 1.456 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.002544, allocations: 231.2 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.002576, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.002603, allocations: 7.984 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.002639, allocations: 3.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.003383, allocations: 59.77 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.003444, allocations: 23.88 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.003525, allocations: 11.97 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.003567, allocations: 8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.003599, allocations: 11.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.003607, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.003731, allocations: 55.94 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.003744, allocations: 3.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.003764, allocations: 12 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003881, allocations: 55.84 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003884, allocations: 4 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003884, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.003888, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 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.000301/0.004189, allocations: 270.3 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.004224, allocations: 9.469 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.004248, allocations: 34.73 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.364e-05/0.004262, allocations: 4.891 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.004336, allocations: 109.7 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.004343, allocations: 4.375 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.00435, allocations: 4.375 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.004445, allocations: 46.23 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.00445, allocations: 192 / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.004457, allocations: 4.375 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.004461, allocations: 4.125 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.004549, allocations: 31.95 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.004772, allocations: 216 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.004842, allocations: 42.55 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.004885, allocations: 20.91 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.005192, allocations: 67.92 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.005208, allocations: 42.5 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005209, allocations: 4 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.005381, allocations: 85.53 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.005401, allocations: 51.41 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.005445, allocations: 101.8 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.005454, allocations: 29.64 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.005482, allocations: 88.12 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.005497, allocations: 11.89 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.005517, allocations: 13.84 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.005741, allocations: 318.8 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.005778, allocations: 15.98 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.00581, allocations: 11.98 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.936e-05/0.00588, allocations: 36.83 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.005881, allocations: 0 / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.232e-05/0.005973, allocations: 81.59 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.005984, allocations: 4 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.005986, allocations: 0 / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-06/0.005993, allocations: 0 / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.006034, allocations: 11.98 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006036, allocations: 0 / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.006057, allocations: 7.984 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.00606, allocations: 4 kB / 0.6217 GB, free: 9.816 MB / 0.5886 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.073e-05/0.006111, allocations: 114.9 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.006123, allocations: 4.125 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.006234, allocations: 76.84 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.006237, allocations: 7.984 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.00624, allocations: 0 / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006242, allocations: 0 / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.006332, allocations: 124.8 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006333, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.006356, allocations: 16.02 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.006359, allocations: 3.938 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.006363, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006364, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006365, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.006498, allocations: 159.5 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.006506, allocations: 7.938 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006515, allocations: 4 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.006553, allocations: 12.02 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.006576, allocations: 3.938 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.006578, allocations: 0 / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.006606, allocations: 83.27 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006606, allocations: 0 / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001791/0.006785, allocations: 19.94 kB / 0.6223 GB, free: 9.113 MB / 0.5886 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.000432/0.007217, allocations: 0.7047 MB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.00733, allocations: 39.89 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.51e-07/0.007331, allocations: 0 / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.00737, allocations: 23.92 kB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.00752, allocations: 0 / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.007792, allocations: 142.7 kB / 0.6231 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.007831, allocations: 59.36 kB / 0.6232 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.455e-05/0.007846, allocations: 3.984 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.007869, allocations: 12.5 kB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.00787, allocations: 0 / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.02183, allocations: 2.183 MB / 0.6254 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.06, allocations: 4.922 kB / 0.6254 GB, free: 6 MB / 0.5886 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: 9.93695464823395] Failed to read output from testmodel.py, exit status != 0: 7.141351819969714 7.152893699 7.147204754 Calling exit ...