Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0009988/0.0009988, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001043/0.001043, allocations: 170 kB / 23.28 MB, free: 1.223 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 1.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.8461/0.8461, allocations: 154.9 MB / 415.1 MB, free: 236 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.737e-05, allocations: 2.812 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002259/0.002287, allocations: 1.479 MB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.002708, allocations: 240.4 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.002737, allocations: 0 / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.00277, allocations: 7.922 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.002818, allocations: 5.031 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.003161, allocations: 61.44 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.003213, allocations: 23.92 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.003294, allocations: 4 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.003345, allocations: 11.98 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.003378, allocations: 4 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.003388, allocations: 1.375 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.003507, allocations: 67.8 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.00352, allocations: 4 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.003533, allocations: 4.531 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.003653, allocations: 59.84 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003655, allocations: 0.75 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003656, allocations: 0 / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003659, allocations: 5.469 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003147/0.003974, allocations: 360.6 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.004006, allocations: 8.031 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.004033, allocations: 10.23 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.004111, allocations: 112.6 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.004121, allocations: 4.359 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-06/0.004127, allocations: 4.375 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.00422, allocations: 58.42 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.004226, allocations: 192 / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-06/0.004232, allocations: 384 / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004237, allocations: 384 / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.004256, allocations: 7.938 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.00445, allocations: 232.5 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.669e-05/0.004487, allocations: 27.06 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.004503, allocations: 15.62 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.004766, allocations: 66.08 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.004788, allocations: 41.39 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004789, allocations: 1.469 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001238/0.004913, allocations: 45.58 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.004941, allocations: 51.41 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.005007, allocations: 158.7 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005017, allocations: 25.7 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.005057, allocations: 131.8 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.005075, allocations: 11.88 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.005102, allocations: 29.02 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005215, allocations: 496.1 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.005224, allocations: 0 / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-06/0.005234, allocations: 4 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.00526, allocations: 16.41 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005262, allocations: 1.156 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.291e-05/0.005315, allocations: 41.62 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005326, allocations: 4 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.00533, allocations: 1.344 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.005339, allocations: 3.938 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.005385, allocations: 4 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.005388, allocations: 10.31 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.005406, allocations: 7.984 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.00541, allocations: 0 / 0.525 GB, free: 13.42 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 (2): * Single equations (assignments): 2 * 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 6.066e-05/0.005471, allocations: 156.6 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.005484, allocations: 0 / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.005556, allocations: 47.75 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005559, allocations: 3.938 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.00556, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005563, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.279e-05/0.005656, allocations: 97.25 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.005656, allocations: 0 / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.005677, allocations: 4 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005679, allocations: 0 / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-06/0.005682, allocations: 5.281 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.005683, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005684, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.005768, allocations: 200.7 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.005773, allocations: 4.188 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.00578, allocations: 0.9375 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.005809, allocations: 0 / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.005835, allocations: 11.97 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.005837, allocations: 4.594 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.00587, allocations: 124.2 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005871, allocations: 0 / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001562/0.006027, allocations: 15.94 kB / 0.5256 GB, free: 12.7 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 (2): * Single equations (assignments): 2 * 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.0001344/0.006161, allocations: 113.7 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.856e-05/0.00622, allocations: 22.75 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006221, allocations: 0 / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.006235, allocations: 11.69 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.006395, allocations: 7.984 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.006586, allocations: 118.3 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.006617, allocations: 55.3 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.006634, allocations: 5.594 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.006673, allocations: 70.2 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.006674, allocations: 0 / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.002218/0.008891, allocations: 0.7666 MB / 0.5267 GB, free: 11.51 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7511865366250277]