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.001392/0.001392, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001567/0.001567, allocations: 169 kB / 23.27 MB, free: 1.219 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.9774/0.9774, allocations: 177.1 MB / 203.7 MB, free: 5.516 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-535:34: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-535:42: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.8883/0.8883, allocations: 154.9 MB / 415.1 MB, free: 280 kB / 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: 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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5212 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.929e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001753/0.001782, allocations: 0.5982 MB / 0.5218 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000451/0.002233, allocations: 171.4 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.002247, allocations: 1.031 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.002262, allocations: 4 kB / 0.5219 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.002269, allocations: 0 / 0.5219 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.002621, allocations: 52.27 kB / 0.522 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.264e-05/0.002653, allocations: 4.766 kB / 0.522 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.002687, allocations: 0 / 0.522 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.00271, allocations: 5.219 kB / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.149e-05/0.002731, allocations: 0 / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.002739, allocations: 0 / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.002918, allocations: 59.81 kB / 0.5221 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.00293, allocations: 0.625 kB / 0.5221 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.002942, allocations: 5.812 kB / 0.5221 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003059, allocations: 35.94 kB / 0.5221 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003061, allocations: 0 / 0.5221 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003062, allocations: 0 / 0.5221 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003066, allocations: 0 / 0.5221 GB, free: 0.5586 MB / 490.7 MB 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.0002454/0.003311, allocations: 353.9 kB / 0.5224 GB, free: 180 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003344, allocations: 8.031 kB / 0.5224 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.003364, allocations: 0.9375 kB / 0.5224 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.477e-05/0.003429, allocations: 116.5 kB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003439, allocations: 384 / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-06/0.003443, allocations: 1.656 kB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.405e-05/0.003517, allocations: 30.25 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.003523, allocations: 8.125 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.003529, allocations: 1 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003533, allocations: 1.125 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.165e-05/0.003545, allocations: 3.938 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.969e-05/0.003635, allocations: 94.77 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/0.003669, allocations: 23.06 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.003682, allocations: 11.69 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.004057, allocations: 68.83 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.004237, allocations: 37.39 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.004239, allocations: 3.938 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.004349, allocations: 37.69 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.004382, allocations: 51.41 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.004436, allocations: 142.2 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.004448, allocations: 25.7 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.004487, allocations: 126.9 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.004518, allocations: 4.562 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.004551, allocations: 15.38 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.004714, allocations: 496.6 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.004728, allocations: 4.969 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.004736, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.004771, allocations: 13.09 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.004773, allocations: 0 / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.377e-05/0.004857, allocations: 41.69 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.004879, allocations: 6.875 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.004885, allocations: 0.5 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.004894, allocations: 0 / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.88e-05/0.004933, allocations: 4.75 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.004936, allocations: 0 / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.004948, allocations: 9.75 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.004953, allocations: 0 / 0.5238 GB, free: 14.68 MB / 0.4948 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 9.505e-05/0.005048, allocations: 156.5 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.005057, allocations: 4 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.005158, allocations: 41.53 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.005161, allocations: 2.094 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.005163, allocations: 0 / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.005167, allocations: 0 / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.407e-05/0.005251, allocations: 93.2 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.005254, allocations: 0 / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.005277, allocations: 4 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.00528, allocations: 2.75 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.005283, allocations: 0 / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.005287, allocations: 3.984 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005289, allocations: 0 / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/0.005377, allocations: 84.27 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.005383, allocations: 0 / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.00539, allocations: 0 / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.0054, allocations: 5.562 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.005412, allocations: 3.984 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005415, allocations: 0 / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.005451, allocations: 119.2 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005451, allocations: 0.9375 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002203/0.005671, allocations: 12 kB / 0.5243 GB, free: 14.09 MB / 0.4948 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.0001692/0.00584, allocations: 121.5 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.904e-05/0.005889, allocations: 14.47 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.005891, allocations: 0 / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.005897, allocations: 7.688 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.953e-05/0.005986, allocations: 11.94 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001288/0.006115, allocations: 83.92 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.006142, allocations: 55.34 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.006152, allocations: 7.125 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.006182, allocations: 66.2 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.006182, allocations: 0 / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.00184/0.008022, allocations: 475.5 kB / 0.5251 GB, free: 13.22 MB / 0.4948 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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7295525278896093]