Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001051/0.001051, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.00111/0.00111, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9718/0.9718, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8041/0.8041, allocations: 154.6 MB / 414.5 MB, free: 0.668 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.755e-05, allocations: 8.141 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001729/0.001746, allocations: 1.485 MB / 0.5218 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.002176, allocations: 250 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.002201, allocations: 2.531 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.002231, allocations: 0 / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.002273, allocations: 11.86 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.002605, allocations: 61.39 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.00266, allocations: 23.91 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.002741, allocations: 8 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.002787, allocations: 11.98 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.002818, allocations: 7.938 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.00283, allocations: 0.75 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.002942, allocations: 59.92 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.002957, allocations: 9.219 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.002974, allocations: 3.984 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.003103, allocations: 63.73 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003105, allocations: 1.25 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003106, allocations: 0 / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003109, allocations: 4 kB / 0.5223 GB, free: 216 kB / 490.7 MB 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.0003335/0.003443, allocations: 366.9 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.003476, allocations: 8.031 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.003509, allocations: 4.938 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.811e-05/0.003587, allocations: 112.6 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.003598, allocations: 384 / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.00361, allocations: 384 / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.003729, allocations: 60.66 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.003741, allocations: 4.172 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.00375, allocations: 384 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.003757, allocations: 384 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.896e-05/0.003786, allocations: 11.88 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.004035, allocations: 248.3 kB / 0.523 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.004082, allocations: 32 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.0041, allocations: 11.75 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.004413, allocations: 74.83 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004436, allocations: 37.33 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.004437, allocations: 5.5 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.004587, allocations: 49.58 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.004611, allocations: 51.41 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.004691, allocations: 159 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004701, allocations: 25.7 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.004745, allocations: 134.9 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.004762, allocations: 4.641 kB / 0.5236 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.004787, allocations: 15.38 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.004904, allocations: 0.4897 MB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.004918, allocations: 7.922 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.004928, allocations: 4 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.004957, allocations: 16.75 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004959, allocations: 0 / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.838e-05/0.005018, allocations: 42.2 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.005029, allocations: 6.875 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.005036, allocations: 3.938 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.005056, allocations: 0 / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.005123, allocations: 11.98 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.005129, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.005144, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.00515, allocations: 4 kB / 0.5242 GB, free: 14.04 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 5.867e-05/0.005209, allocations: 155.6 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.005223, allocations: 3.938 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.005303, allocations: 52.53 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005305, allocations: 0 / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.005308, allocations: 0 / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005311, allocations: 0 / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.005396, allocations: 116.6 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.005398, allocations: 4 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.005417, allocations: 9.484 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.005419, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.005425, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005426, allocations: 3.938 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005427, allocations: 0.5 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.005508, allocations: 194.9 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.005514, allocations: 3.984 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.005522, allocations: 0 / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.005558, allocations: 7.938 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.005592, allocations: 0 / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005594, allocations: 0 / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.005631, allocations: 131.4 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005631, allocations: 0 / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001588/0.00579, allocations: 22.38 kB / 0.5249 GB, free: 13.3 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.0001341/0.005924, allocations: 112.6 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.005994, allocations: 15.62 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005995, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.006011, allocations: 16.5 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.006184, allocations: 10.98 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.006408, allocations: 114.2 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.006444, allocations: 60.75 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.006458, allocations: 4 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.006478, allocations: 12.5 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.006479, allocations: 1.281 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.002569/0.009047, allocations: 0.6942 MB / 0.5259 GB, free: 12.23 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9427842921577394]