Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0007934/0.0007934, 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.0008749/0.0008749, 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.917/0.917, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7472/0.7472, allocations: 154.5 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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.194e-05, allocations: 7.875 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001535/0.001567, allocations: 0.6011 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003953/0.001962, allocations: 171.4 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.001977, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.001998, allocations: 4 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-06/0.002007, allocations: 0 / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.002438, allocations: 59.69 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.736e-05/0.002485, allocations: 4 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.002532, allocations: 0 / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.002557, allocations: 0 / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.002581, allocations: 3.984 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.002591, allocations: 0 / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.002765, allocations: 55.89 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.002779, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.002796, allocations: 3.984 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.002921, allocations: 47.94 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.002923, allocations: 0 / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002924, allocations: 0 / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.00293, allocations: 0 / 0.619 GB, free: 12.72 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.0002794/0.003209, allocations: 246.3 kB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.003258, allocations: 13.41 kB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.003297, allocations: 30.75 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.003327, allocations: 4.938 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.003403, allocations: 105.8 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003417, allocations: 4.312 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.003428, allocations: 384 / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.003548, allocations: 30.27 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.00356, allocations: 8.172 kB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.00357, allocations: 384 / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.003578, allocations: 4.125 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.0036, allocations: 0 / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.003738, allocations: 116.8 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.003782, allocations: 18.58 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.003799, allocations: 8.797 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/0.004307, allocations: 84 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.004333, allocations: 30.56 kB / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.004335, allocations: 0 / 0.6197 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.004491, allocations: 29.7 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.004538, allocations: 55.34 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.116e-05/0.004579, allocations: 89.86 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.004595, allocations: 29.7 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.004624, allocations: 84.27 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.004659, allocations: 7.922 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.004691, allocations: 13.72 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.004798, allocations: 314.8 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.004813, allocations: 7.938 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.00482, allocations: 0 / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.004849, allocations: 8.859 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004851, allocations: 0 / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.858e-05/0.004899, allocations: 29.7 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.004915, allocations: 12.08 kB / 0.6203 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.004923, allocations: 4 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.004936, allocations: 0 / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.004986, allocations: 4 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.004996, allocations: 3.938 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.005005, allocations: 0 / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.005013, allocations: 11.88 kB / 0.6204 GB, free: 11.14 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 7.786e-05/0.005091, allocations: 106.8 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-06/0.005096, allocations: 0 / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.005187, allocations: 36.69 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005189, allocations: 4.031 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.005195, allocations: 3.938 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.0052, allocations: 4 kB / 0.6205 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.995e-05/0.00527, allocations: 124.8 kB / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005271, allocations: 0 / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-06/0.005277, allocations: 0 / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.00528, allocations: 7.984 kB / 0.6206 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005286, allocations: 0 / 0.6206 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005287, allocations: 3.984 kB / 0.6206 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.00529, allocations: 3.938 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.633e-05/0.005336, allocations: 65.03 kB / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.005341, allocations: 4 kB / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-06/0.005349, allocations: 0 / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-06/0.005353, allocations: 0 / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.005367, allocations: 7.922 kB / 0.6207 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.005368, allocations: 0 / 0.6207 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.058e-05/0.005389, allocations: 83.28 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005389, allocations: 0 / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001415/0.00553, allocations: 11.94 kB / 0.6208 GB, free: 10.61 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.0003177/0.005848, allocations: 0.6047 MB / 0.6214 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.072e-05/0.005918, allocations: 8 kB / 0.6214 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.00592, allocations: 0 / 0.6214 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-06/0.005924, allocations: 4 kB / 0.6214 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.792e-05/0.006022, allocations: 15.8 kB / 0.6214 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.006266, allocations: 102.7 kB / 0.6215 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.006307, allocations: 55.48 kB / 0.6216 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.006321, allocations: 4 kB / 0.6216 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.006341, allocations: 12.48 kB / 0.6216 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.006342, allocations: 0 / 0.6216 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.02166, allocations: 1.795 MB / 0.6234 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/6.919, allocations: 14.09 kB / 0.6234 GB, free: 8.043 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.80776516161859] Failed to read output from testmodel.py, exit status != 0: 7.008427466265857 7.015443025 7.010890296 Calling exit ...