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.001012/0.001012, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001013/0.001013, allocations: 177.3 kB / 23.49 MB, free: 1.059 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7862/0.7862, allocations: 154.8 MB / 415.1 MB, free: 0.5039 MB / 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 2.344e-06/2.344e-06, allocations: 0 / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.518e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002227/0.002263, allocations: 1.485 MB / 0.522 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.002755, allocations: 246.4 kB / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.002793, allocations: 0 / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.002824, allocations: 4 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.002872, allocations: 5.625 kB / 0.5223 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.0033, allocations: 51.83 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.003365, allocations: 27.91 kB / 0.5224 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.003447, allocations: 4 kB / 0.5224 GB, free: 472 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.003496, allocations: 16.67 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.003529, allocations: 7.984 kB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.00354, allocations: 1.406 kB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.003654, allocations: 59.88 kB / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.003669, allocations: 4 kB / 0.5224 GB, free: 384 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.003689, allocations: 11.92 kB / 0.5225 GB, free: 372 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003821, allocations: 53.27 kB / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003823, allocations: 0 / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003824, allocations: 0 / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.003828, allocations: 0 / 0.5225 GB, free: 320 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.0003636/0.004191, allocations: 373.9 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.004227, allocations: 8.031 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.004262, allocations: 8.891 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.004346, allocations: 107.2 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.004355, allocations: 384 / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004364, allocations: 4.375 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.004477, allocations: 54.95 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.004482, allocations: 192 / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004491, allocations: 384 / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004498, allocations: 384 / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.004529, allocations: 16.48 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004796, allocations: 252.7 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.656e-05/0.004842, allocations: 31.09 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.004861, allocations: 9.25 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.005161, allocations: 76.91 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.005181, allocations: 33.39 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005182, allocations: 1.406 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.005328, allocations: 57.52 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.005355, allocations: 52.56 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.005428, allocations: 153.9 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.00544, allocations: 29.7 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.005486, allocations: 127.6 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.005509, allocations: 15.88 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.005534, allocations: 16.66 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.005666, allocations: 0.4884 MB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.005677, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.005687, allocations: 1.094 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.005712, allocations: 15.69 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005714, allocations: 3.25 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.831e-05/0.005772, allocations: 45.62 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005785, allocations: 6.031 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.005792, allocations: 3.938 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005803, allocations: 0 / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.005862, allocations: 8 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.005867, allocations: 0 / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.005887, allocations: 7.984 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.005891, allocations: 2.844 kB / 0.5244 GB, free: 14.14 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.248e-05/0.005954, allocations: 156.6 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.005965, allocations: 0 / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.006038, allocations: 52.88 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00604, allocations: 0 / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.006043, allocations: 0 / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006046, allocations: 0 / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.806e-05/0.006134, allocations: 118.1 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006135, allocations: 0 / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.006155, allocations: 8 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006156, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.006161, allocations: 4.438 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006163, allocations: 4.438 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006164, allocations: 0 / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.884e-05/0.006252, allocations: 194.1 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-06/0.006258, allocations: 0 / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006266, allocations: 3.938 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.006297, allocations: 11.92 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.006329, allocations: 0 / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.006331, allocations: 2.438 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.006363, allocations: 127.2 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006364, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001595/0.006523, allocations: 19.94 kB / 0.5251 GB, free: 13.39 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.0002521/0.006775, allocations: 109.3 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.00684, allocations: 15.69 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006842, allocations: 1.031 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.006857, allocations: 15.67 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.007027, allocations: 14.98 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.007247, allocations: 119.8 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.00728, allocations: 55.36 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.007294, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.007313, allocations: 9.781 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.007314, allocations: 0 / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.002179/0.009493, allocations: 0.6897 MB / 0.5261 GB, free: 12.33 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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8181559729855508]