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.001022/0.001022, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001089/0.001089, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9662/0.9662, allocations: 230.6 MB / 256 MB, free: 9.594 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.7721/0.7721, 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.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: 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.0009141/0.0009141, allocations: 72.33 kB / 0.7182 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4889, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001293/0.4902, allocations: 0.5974 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.4905, allocations: 162 kB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.285e-05/0.4906, allocations: 1.375 kB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.4906, allocations: 0 / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.4906, allocations: 3.938 kB / 0.8186 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.4909, allocations: 51.36 kB / 0.8186 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.156e-05/0.491, allocations: 3.938 kB / 0.8186 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.491, allocations: 5.312 kB / 0.8186 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.491, allocations: 7.938 kB / 0.8186 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.112e-05/0.4911, allocations: 0 / 0.8186 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.4911, allocations: 0 / 0.8186 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.4912, allocations: 52.23 kB / 0.8187 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.4912, allocations: 3.984 kB / 0.8187 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.4913, allocations: 1.375 kB / 0.8187 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.4914, allocations: 38.67 kB / 0.8187 GB, free: 496 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4914, allocations: 0 / 0.8187 GB, free: 496 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4914, allocations: 1.5 kB / 0.8187 GB, free: 496 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4914, allocations: 0 / 0.8187 GB, free: 496 kB / 0.6042 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.000222/0.4916, allocations: 245.1 kB / 0.819 GB, free: 228 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4917, allocations: 13.84 kB / 0.819 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.4917, allocations: 31.36 kB / 0.819 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.4917, allocations: 2.25 kB / 0.819 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.518e-05/0.4917, allocations: 105.4 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.4918, allocations: 4.359 kB / 0.8191 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.4918, allocations: 1.75 kB / 0.8191 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.125e-05/0.4918, allocations: 36 kB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4919, allocations: 5.438 kB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4919, allocations: 0 / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4919, allocations: 0 / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.4919, allocations: 12.5 kB / 0.8192 GB, free: 0 / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.492, allocations: 114.1 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.782e-05/0.4921, allocations: 17.67 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.4921, allocations: 9.75 kB / 0.8193 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.4925, allocations: 73.17 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4926, allocations: 31.22 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.4926, allocations: 4 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.4927, allocations: 45.83 kB / 0.8195 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.4927, allocations: 53.98 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.059e-05/0.4928, allocations: 89.86 kB / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4928, allocations: 29.64 kB / 0.8196 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.4928, allocations: 80.14 kB / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4928, allocations: 6.094 kB / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.4928, allocations: 12.12 kB / 0.8197 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.4929, allocations: 316.1 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.4929, allocations: 2.875 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.4929, allocations: 4.125 kB / 0.82 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.493, allocations: 8.734 kB / 0.82 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.493, allocations: 0 / 0.82 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.914e-05/0.493, allocations: 35.98 kB / 0.8201 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.493, allocations: 5.484 kB / 0.8201 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.493, allocations: 3.938 kB / 0.8201 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.493, allocations: 1.406 kB / 0.8201 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.4931, allocations: 1.766 kB / 0.8201 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4931, allocations: 0.5625 kB / 0.8201 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-06/0.4931, allocations: 9.125 kB / 0.8201 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.4931, allocations: 0 / 0.8201 GB, free: 15.05 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 (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.365e-05/0.4931, allocations: 112.4 kB / 0.8202 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-06/0.4931, allocations: 1.281 kB / 0.8202 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.4932, allocations: 47.14 kB / 0.8202 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4932, allocations: 0 / 0.8202 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4932, allocations: 3.062 kB / 0.8202 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4932, allocations: 0.7031 kB / 0.8202 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.788e-05/0.4933, allocations: 114.2 kB / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.4933, allocations: 0 / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-06/0.4933, allocations: 5.938 kB / 0.8204 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4933, allocations: 1.281 kB / 0.8204 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.4933, allocations: 3.938 kB / 0.8204 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4933, allocations: 0.7969 kB / 0.8204 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4933, allocations: 1.281 kB / 0.8204 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.885e-05/0.4933, allocations: 61.52 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.4934, allocations: 3.156 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.4934, allocations: 3.938 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-06/0.4934, allocations: 0.5156 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4934, allocations: 1.234 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4934, allocations: 8.781 kB / 0.8204 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.4934, allocations: 85.48 kB / 0.8205 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4934, allocations: 0 / 0.8205 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001356/0.4935, allocations: 11.97 kB / 0.8205 GB, free: 14.56 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 (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.0003108/0.4939, allocations: 0.6062 MB / 0.8211 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.699e-05/0.4939, allocations: 12.48 kB / 0.8211 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4939, allocations: 0 / 0.8211 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.4939, allocations: 3.938 kB / 0.8211 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.494, allocations: 2.797 kB / 0.8211 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.4943, allocations: 112.4 kB / 0.8212 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.365e-05/0.4943, allocations: 54.7 kB / 0.8213 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.4943, allocations: 1.906 kB / 0.8213 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.4943, allocations: 7.438 kB / 0.8213 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.4943, allocations: 2.188 kB / 0.8213 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.5113, allocations: 1.653 MB / 0.8229 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/7.191, allocations: 7.344 kB / 0.8229 GB, free: 12.91 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 10.019960570149124] Failed to read output from testmodel.py, exit status != 0: 7.270546205341816 7.285517998 6.790472697 Calling exit ...