Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0008031/0.0008031, 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.0008035/0.0008035, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9344/0.9344, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7568/0.7568, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.761e-05, allocations: 10.91 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001255/0.001283, allocations: 0.595 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.001655, allocations: 167.4 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.001668, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.001683, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-06/0.001691, allocations: 4 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.002032, allocations: 55.7 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.002075, allocations: 4 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.002113, allocations: 0 / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.002137, allocations: 0 / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.218e-05/0.002159, allocations: 0 / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.00217, allocations: 4 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.002313, allocations: 59.86 kB / 0.619 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.002327, allocations: 0 / 0.619 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.002343, allocations: 0 / 0.619 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.002458, allocations: 39.94 kB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00246, allocations: 4 kB / 0.619 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002461, allocations: 3.938 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.002465, allocations: 0 / 0.619 GB, free: 12.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002242/0.002689, allocations: 246.3 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.002726, allocations: 13.47 kB / 0.6193 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.002754, allocations: 30.75 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.002775, allocations: 0.9375 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.141e-05/0.002826, allocations: 101.8 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002837, allocations: 4.375 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-06/0.002843, allocations: 384 / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.002924, allocations: 38.19 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.002931, allocations: 192 / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-06/0.002937, allocations: 384 / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.002942, allocations: 4.125 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.002959, allocations: 4 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.00306, allocations: 116.8 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.356e-05/0.003094, allocations: 18.61 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.003108, allocations: 4.859 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.003518, allocations: 79.97 kB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.003795, allocations: 34.5 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.003796, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.003917, allocations: 29.7 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.003946, allocations: 55.34 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.38e-05/0.003969, allocations: 97.8 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.003979, allocations: 29.7 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.734e-05/0.003997, allocations: 80.14 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.004021, allocations: 4.125 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.004043, allocations: 13.7 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.004118, allocations: 314.8 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.004129, allocations: 0 / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.004135, allocations: 0 / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.004163, allocations: 16.8 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004166, allocations: 0 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.936e-05/0.004205, allocations: 29.7 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.004218, allocations: 4 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004223, allocations: 4.094 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.004236, allocations: 7.938 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.004286, allocations: 3.984 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.004292, allocations: 3.938 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-06/0.0043, allocations: 0 / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.004305, allocations: 4 kB / 0.6203 GB, free: 11.21 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 (1): * Single equations (assignments): 1 * 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.136e-05/0.004357, allocations: 106.8 kB / 0.6204 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-06/0.00436, allocations: 0 / 0.6204 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.004432, allocations: 44.62 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004433, allocations: 0 / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.00444, allocations: 11.97 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.004444, allocations: 0 / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.829e-05/0.004512, allocations: 120.7 kB / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.004513, allocations: 0 / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.004524, allocations: 0 / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.004526, allocations: 4 kB / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.004532, allocations: 0 / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.004534, allocations: 0 / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.004536, allocations: 3.938 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.741e-05/0.004593, allocations: 69.06 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.004598, allocations: 4 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.004608, allocations: 4.031 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-06/0.004612, allocations: 0 / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.004626, allocations: 3.938 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.004628, allocations: 0 / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.004651, allocations: 79.28 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004651, allocations: 0 / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001444/0.004795, allocations: 15.92 kB / 0.6208 GB, free: 10.67 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 (1): * Single equations (assignments): 1 * 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.0003483/0.005144, allocations: 0.6047 MB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.005216, allocations: 7.938 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005217, allocations: 3.938 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-06/0.005221, allocations: 4 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.005323, allocations: 3.938 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.005576, allocations: 114.6 kB / 0.6215 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.005612, allocations: 55.34 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.005623, allocations: 12.06 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.005638, allocations: 8.5 kB / 0.6216 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.005639, allocations: 0 / 0.6216 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.02299, allocations: 1.782 MB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.93, allocations: 15.44 kB / 0.6233 GB, free: 8.113 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.866489973850548] Failed to read output from testmodel.py, exit status != 0: 7.010598008520901 7.023760362 7.019212973 Calling exit ...