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.0007335/0.0007335, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008815/0.0008815, allocations: 203.8 kB / 23 MB, free: 3.125 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.8734/0.8734, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7332/0.7332, allocations: 203.8 MB / 0.5049 GB, free: 0.6602 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [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.0008994/0.0008994, allocations: 63.91 kB / 0.7195 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4645, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001271/0.4657, allocations: 0.6005 MB / 0.8197 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.4661, allocations: 180.3 kB / 0.8199 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.051e-05/0.4661, allocations: 0 / 0.8199 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.4661, allocations: 0 / 0.8199 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.4661, allocations: 0.7812 kB / 0.8199 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.4664, allocations: 54.11 kB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 3.733e-05/0.4665, allocations: 7.047 kB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.4665, allocations: 5.719 kB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.4665, allocations: 0.7188 kB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.901e-05/0.4665, allocations: 2.031 kB / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.551e-06/0.4665, allocations: 0 / 0.8199 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.4667, allocations: 57.2 kB / 0.82 GB, free: 24.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.4667, allocations: 4.891 kB / 0.82 GB, free: 24.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.4667, allocations: 5.344 kB / 0.82 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.4668, allocations: 31.09 kB / 0.82 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4668, allocations: 0.6562 kB / 0.82 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4668, allocations: 1.094 kB / 0.82 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4668, allocations: 0 / 0.82 GB, free: 24.67 MB / 0.6355 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.0001966/0.467, allocations: 251.5 kB / 0.8203 GB, free: 24.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4671, allocations: 14.94 kB / 0.8203 GB, free: 24.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.4671, allocations: 2.844 kB / 0.8203 GB, free: 24.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.435e-05/0.4671, allocations: 104.9 kB / 0.8204 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4671, allocations: 1.562 kB / 0.8204 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.4671, allocations: 1.5 kB / 0.8204 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.4672, allocations: 34.27 kB / 0.8204 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.4672, allocations: 192 / 0.8204 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4672, allocations: 5.219 kB / 0.8204 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4672, allocations: 0 / 0.8204 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.4673, allocations: 3.016 kB / 0.8204 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.925e-05/0.4673, allocations: 120 kB / 0.8206 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.98e-05/0.4674, allocations: 17.86 kB / 0.8206 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.4674, allocations: 5.641 kB / 0.8206 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/0.4678, allocations: 80.09 kB / 0.8207 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.4678, allocations: 34.72 kB / 0.8207 GB, free: 24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4678, allocations: 0 / 0.8207 GB, free: 24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.4679, allocations: 36.08 kB / 0.8207 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.4679, allocations: 54.41 kB / 0.8208 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.37e-05/0.4679, allocations: 90.42 kB / 0.8209 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-06/0.468, allocations: 25.7 kB / 0.8209 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/0.468, allocations: 81.2 kB / 0.821 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.468, allocations: 11.92 kB / 0.821 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.468, allocations: 14.97 kB / 0.821 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.278e-05/0.468, allocations: 311.7 kB / 0.8213 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.4681, allocations: 4.656 kB / 0.8213 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-06/0.4681, allocations: 5.062 kB / 0.8213 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/0.4681, allocations: 7.859 kB / 0.8213 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4681, allocations: 0 / 0.8213 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.883e-05/0.4681, allocations: 36.66 kB / 0.8213 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4681, allocations: 5.875 kB / 0.8213 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4681, allocations: 0 / 0.8213 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4681, allocations: 5.094 kB / 0.8213 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.4682, allocations: 6.031 kB / 0.8214 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4682, allocations: 1.25 kB / 0.8214 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-06/0.4682, allocations: 0.9844 kB / 0.8214 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.4682, allocations: 0 / 0.8214 GB, free: 23.29 MB / 0.6355 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 3.3e-05/0.4682, allocations: 116.3 kB / 0.8215 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-06/0.4682, allocations: 1.984 kB / 0.8215 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.4683, allocations: 43.23 kB / 0.8215 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4683, allocations: 0 / 0.8215 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4683, allocations: 5.25 kB / 0.8215 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4683, allocations: 0 / 0.8215 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.025e-05/0.4683, allocations: 123.7 kB / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-07/0.4683, allocations: 0 / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-06/0.4683, allocations: 2.141 kB / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4683, allocations: 1.891 kB / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4684, allocations: 3.938 kB / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.4684, allocations: 0.9688 kB / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4684, allocations: 0 / 0.8216 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.592e-05/0.4684, allocations: 64.98 kB / 0.8217 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-06/0.4684, allocations: 2.375 kB / 0.8217 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.4684, allocations: 5.156 kB / 0.8217 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-06/0.4684, allocations: 0 / 0.8217 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.4684, allocations: 1.141 kB / 0.8217 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.4684, allocations: 0.9375 kB / 0.8217 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.246e-06/0.4684, allocations: 75.28 kB / 0.8218 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4684, allocations: 1.094 kB / 0.8218 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001313/0.4686, allocations: 11.34 kB / 0.8218 GB, free: 22.81 MB / 0.6355 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.0001497/0.4687, allocations: 115.4 kB / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.4688, allocations: 4.344 kB / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.4688, allocations: 0 / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.4688, allocations: 6.594 kB / 0.8219 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.4689, allocations: 12.05 kB / 0.8219 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001431/0.469, allocations: 105.6 kB / 0.822 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.4691, allocations: 0.6756 MB / 0.8227 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-06/0.4691, allocations: 8.219 kB / 0.8227 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of SimCode: time 3.1e-07/0.4691, allocations: 0 / 0.8227 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.001848/0.4709, allocations: 0.5505 MB / 0.8232 GB, free: 21.84 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.534239381086081] Failed to read output from testmodel.py, exit status != 0: 0.47695516399107873 0.484796053 0.016337554 Calling exit ...