Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.0009568/0.0009568, allocations: 81.17 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.001015/0.001015, allocations: 169 kB / 23.27 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.104/1.104, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.8305/0.8305, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.315e-05, allocations: 5.047 kB / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001218/0.001241, allocations: 0.5934 MB / 0.5214 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.001607, allocations: 187.2 kB / 0.5216 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.001623, allocations: 0.6875 kB / 0.5216 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.001638, allocations: 0 / 0.5216 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.001644, allocations: 1.219 kB / 0.5216 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.001989, allocations: 59.69 kB / 0.5216 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.29e-05/0.002022, allocations: 0 / 0.5216 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.002061, allocations: 5.812 kB / 0.5216 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.002085, allocations: 0 / 0.5216 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.166e-05/0.002107, allocations: 0 / 0.5216 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.002115, allocations: 0 / 0.5216 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.002259, allocations: 55.94 kB / 0.5217 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.002272, allocations: 5.734 kB / 0.5217 GB, free: 1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-06/0.00228, allocations: 0 / 0.5217 GB, free: 1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.002382, allocations: 43.88 kB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002383, allocations: 3.938 kB / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.002384, allocations: 0 / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002387, allocations: 0.75 kB / 0.5217 GB, free: 0.9531 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.0002306/0.002618, allocations: 352.3 kB / 0.5221 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.002658, allocations: 13.42 kB / 0.5221 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.002683, allocations: 0.9375 kB / 0.5221 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.863e-05/0.002742, allocations: 104.6 kB / 0.5222 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.002751, allocations: 5.719 kB / 0.5222 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.002757, allocations: 384 / 0.5222 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.268e-05/0.00282, allocations: 30.25 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.002826, allocations: 192 / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-06/0.002831, allocations: 2.156 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.002836, allocations: 384 / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.033e-05/0.002846, allocations: 11.88 kB / 0.5222 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.632e-05/0.002933, allocations: 89.27 kB / 0.5223 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.123e-05/0.002964, allocations: 29.28 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.002977, allocations: 11.67 kB / 0.5224 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/0.003307, allocations: 73.05 kB / 0.5224 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.003329, allocations: 33.39 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.00333, allocations: 1 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001036/0.003434, allocations: 42.23 kB / 0.5225 GB, free: 52 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.003468, allocations: 51.41 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.439e-05/0.003502, allocations: 143.5 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.00351, allocations: 25.7 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.003537, allocations: 126.9 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.003563, allocations: 0.9375 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.003586, allocations: 23.36 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.003691, allocations: 496.1 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-06/0.003698, allocations: 1.531 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.003703, allocations: 0 / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.003728, allocations: 15.62 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.00373, allocations: 1.031 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.966e-05/0.003779, allocations: 29.7 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.003792, allocations: 8.688 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.003797, allocations: 0 / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.003812, allocations: 9.203 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.003852, allocations: 0 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.003856, allocations: 0 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.00387, allocations: 12.62 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.003875, allocations: 0 / 0.5234 GB, free: 15.07 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 8.5e-05/0.00396, allocations: 161.5 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.003966, allocations: 352 / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.00404, allocations: 47.47 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004043, allocations: 0 / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.004047, allocations: 4 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.004051, allocations: 0 / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.981e-05/0.00412, allocations: 97.16 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.004122, allocations: 0 / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-06/0.004132, allocations: 0 / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.004134, allocations: 4 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.004137, allocations: 0 / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004139, allocations: 3.031 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.004141, allocations: 3.984 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.004208, allocations: 76.38 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.004213, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.00422, allocations: 3.938 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-06/0.004223, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.004233, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.004235, allocations: 1.5 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.004272, allocations: 123.2 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004272, allocations: 0 / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001369/0.004409, allocations: 11.94 kB / 0.5239 GB, free: 14.49 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.0001766/0.004585, allocations: 118.9 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/0.004654, allocations: 7.688 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 0.0002267/0.00488, allocations: 4 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.004891, allocations: 11.67 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.004999, allocations: 6.375 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.005191, allocations: 94.84 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.005224, allocations: 51.36 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.005236, allocations: 0 / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.005273, allocations: 74.14 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.005274, allocations: 0 / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.002095/0.007369, allocations: 489.3 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.722502702847123]