Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001481/0.001481, allocations: 81.86 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.001143/0.001143, allocations: 169.7 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.9996/0.9996, allocations: 177.1 MB / 203.7 MB, free: 5.469 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.8812/0.8812, allocations: 154.9 MB / 415.1 MB, free: 248 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.557e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001715/0.00173, allocations: 1.494 MB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.002148, allocations: 248 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.002176, allocations: 4 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.002201, allocations: 0 / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.002241, allocations: 3.938 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.002525, allocations: 55.7 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.002573, allocations: 32.47 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.35e-05/0.002637, allocations: 0.5625 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.002677, allocations: 12.55 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.772e-05/0.002705, allocations: 11.98 kB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.002714, allocations: 4.969 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.002826, allocations: 59.92 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.002839, allocations: 3.938 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.002853, allocations: 9.469 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.002961, allocations: 59.78 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002962, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002963, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.285e-06/0.002965, allocations: 0.7188 kB / 0.5231 GB, free: 15.52 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.0002617/0.003227, allocations: 361.2 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.003253, allocations: 8.031 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.003276, allocations: 6.859 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.541e-05/0.003342, allocations: 112.6 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.003349, allocations: 384 / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.003355, allocations: 4.312 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.067e-05/0.003435, allocations: 58.95 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.003442, allocations: 4.625 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.003447, allocations: 1.094 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.003451, allocations: 4.375 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.003466, allocations: 4.5 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.003651, allocations: 237.8 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.003687, allocations: 27.06 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.003699, allocations: 11.75 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.00396, allocations: 80.59 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.003976, allocations: 37.33 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003977, allocations: 0 / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 9.809e-05/0.004075, allocations: 49.58 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.004096, allocations: 51.41 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.004152, allocations: 161.9 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.004162, allocations: 29.7 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.004195, allocations: 127.5 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.004208, allocations: 3.953 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.004232, allocations: 24.59 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.004362, allocations: 492.1 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.00437, allocations: 4 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.004381, allocations: 12.86 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.971e-05/0.004401, allocations: 16.45 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.004402, allocations: 0 / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.027e-05/0.004443, allocations: 34.64 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.004452, allocations: 4 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004455, allocations: 1.219 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.004463, allocations: 3.938 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.004503, allocations: 11.98 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004505, allocations: 0.625 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.004519, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.004524, allocations: 4.656 kB / 0.525 GB, free: 13.38 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.584e-05/0.00459, allocations: 161.1 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.004602, allocations: 3 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.004658, allocations: 45 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.004661, allocations: 3.938 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.004662, allocations: 3.938 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.004665, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.004743, allocations: 97.25 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004744, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.004762, allocations: 8 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.004764, allocations: 3.125 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.004768, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004768, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.004769, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.113e-05/0.00484, allocations: 191.8 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.004871, allocations: 4 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.004878, allocations: 4 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.004909, allocations: 7.984 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.004929, allocations: 1.812 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.004932, allocations: 3.938 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.004959, allocations: 123.2 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004959, allocations: 0 / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001492/0.005109, allocations: 21.8 kB / 0.5256 GB, free: 12.66 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.0001176/0.005226, allocations: 114 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.03e-05/0.005276, allocations: 23.61 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.005278, allocations: 0 / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.005292, allocations: 15.69 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.00544, allocations: 5.969 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001628/0.005603, allocations: 112.1 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.005633, allocations: 55.3 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.005647, allocations: 2.406 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.005682, allocations: 78.19 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/0.005683, allocations: 0 / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.002012/0.007695, allocations: 0.7786 MB / 0.5268 GB, free: 11.46 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7362258569337428]