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.001107/0.001107, allocations: 105.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.001036/0.001036, allocations: 216 kB / 22.25 MB, free: 3.594 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.948/0.948, allocations: 230.6 MB / 256 MB, free: 9.625 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.7708/0.7708, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.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: 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.001017/0.001017, allocations: 71.11 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4931, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001516/0.4947, allocations: 0.5905 MB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004231/0.4951, allocations: 183.9 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.457e-05/0.4951, allocations: 0 / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.4951, allocations: 0 / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.4951, allocations: 0 / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.4955, allocations: 47.92 kB / 0.8186 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.39e-05/0.4956, allocations: 2.547 kB / 0.8186 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.4956, allocations: 7.062 kB / 0.8186 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.4956, allocations: 7.922 kB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.217e-05/0.4956, allocations: 0 / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.555e-06/0.4956, allocations: 0 / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.4958, allocations: 62.5 kB / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.4958, allocations: 0.7031 kB / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.4958, allocations: 0 / 0.8187 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.4959, allocations: 41.69 kB / 0.8187 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.496, allocations: 3.938 kB / 0.8188 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.496, allocations: 0 / 0.8188 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.496, allocations: 0 / 0.8188 GB, free: 0.5117 MB / 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.000237/0.4962, allocations: 245.1 kB / 0.819 GB, free: 256 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4962, allocations: 9.406 kB / 0.819 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.502e-05/0.4963, allocations: 33.69 kB / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.4963, allocations: 0.9375 kB / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.955e-05/0.4963, allocations: 111.2 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4963, allocations: 1.094 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.4964, allocations: 3.031 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.4965, allocations: 27.16 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4965, allocations: 4.688 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4965, allocations: 5.531 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4965, allocations: 0 / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.4965, allocations: 5.25 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.4966, allocations: 120.1 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/0.4967, allocations: 29.22 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.4967, allocations: 8.453 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.4973, allocations: 72.73 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4973, allocations: 36.41 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4973, allocations: 3.188 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.4975, allocations: 38.78 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4975, allocations: 51.41 kB / 0.8195 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.709e-05/0.4975, allocations: 90.52 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.4975, allocations: 29.64 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.4976, allocations: 80.14 kB / 0.8197 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.4976, allocations: 1.594 kB / 0.8197 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.4976, allocations: 17.17 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.4977, allocations: 311.6 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.4977, allocations: 6 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.4977, allocations: 0.6094 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.4977, allocations: 8.453 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4977, allocations: 0.6094 kB / 0.82 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.882e-05/0.4978, allocations: 33.33 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4978, allocations: 3.875 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4978, allocations: 4.688 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4978, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.4979, allocations: 7.625 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4979, allocations: 4.656 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.4979, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4979, allocations: 4.75 kB / 0.8201 GB, free: 15.08 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.483e-05/0.498, allocations: 108.1 kB / 0.8202 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-06/0.498, allocations: 4.734 kB / 0.8202 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.498, allocations: 43.12 kB / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.498, allocations: 0 / 0.8202 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.498, allocations: 2.812 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.498, allocations: 0.7031 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.185e-05/0.4981, allocations: 118 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4981, allocations: 4.031 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.4981, allocations: 2.672 kB / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4981, allocations: 0 / 0.8204 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4981, allocations: 10 kB / 0.8204 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4981, allocations: 0.6562 kB / 0.8204 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4981, allocations: 3.938 kB / 0.8204 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.023e-05/0.4982, allocations: 54.09 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.4982, allocations: 4.703 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.4982, allocations: 12.44 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-06/0.4982, allocations: 0 / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.4982, allocations: 4.734 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4982, allocations: 0 / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.4982, allocations: 77.58 kB / 0.8205 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4983, allocations: 0 / 0.8205 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001423/0.4984, allocations: 16.62 kB / 0.8205 GB, free: 14.59 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.0003791/0.4988, allocations: 0.6112 MB / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.159e-05/0.4989, allocations: 3.375 kB / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4989, allocations: 0 / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.4989, allocations: 3.438 kB / 0.8211 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.499, allocations: 2.562 kB / 0.8212 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.4993, allocations: 115.3 kB / 0.8213 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.922e-05/0.4993, allocations: 52.62 kB / 0.8213 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.4993, allocations: 5.625 kB / 0.8213 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.4993, allocations: 7.438 kB / 0.8213 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.4993, allocations: 4.125 kB / 0.8213 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.5163, allocations: 1.658 MB / 0.8229 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/7.237, allocations: 4.922 kB / 0.823 GB, free: 12.94 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 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: 10.099246438127011] Failed to read output from testmodel.py, exit status != 0: 7.319525902159512 7.335819233 6.836895831 Calling exit ...