Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001135/0.001135, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001244/0.001244, allocations: 177 kB / 23.36 MB, free: 1.129 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7661/0.7661, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 480.1 MB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.811e-05, allocations: 3.469 kB / 480.1 MB, free: 6.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001122/0.001141, allocations: 0.6064 MB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.001464, allocations: 174.3 kB / 480.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.164e-05/0.001476, allocations: 0 / 480.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.001487, allocations: 0.5938 kB / 480.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.001493, allocations: 0.5469 kB / 480.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.001783, allocations: 49.5 kB / 480.9 MB, free: 6.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.433e-05/0.001818, allocations: 0 / 480.9 MB, free: 6.051 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.064e-05/0.001848, allocations: 5.391 kB / 480.9 MB, free: 6.047 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.00187, allocations: 0 / 480.9 MB, free: 6.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.001888, allocations: 2.969 kB / 480.9 MB, free: 6.047 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.001895, allocations: 0 / 480.9 MB, free: 6.047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.002029, allocations: 65.39 kB / 481 MB, free: 5.984 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.002039, allocations: 0 / 481 MB, free: 5.984 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-06/0.002048, allocations: 0 / 481 MB, free: 5.984 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.661e-05/0.002134, allocations: 44.41 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002136, allocations: 0 / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002137, allocations: 0.5469 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.002139, allocations: 0.7812 kB / 481 MB, free: 5.941 MB / 442.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.0001861/0.002325, allocations: 216.7 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.002356, allocations: 12.88 kB / 481.2 MB, free: 5.691 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.002374, allocations: 1.594 kB / 481.2 MB, free: 5.691 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.667e-05/0.00242, allocations: 111.6 kB / 481.3 MB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.002428, allocations: 384 / 481.3 MB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.002435, allocations: 384 / 481.3 MB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.806e-05/0.002493, allocations: 30.27 kB / 481.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.002499, allocations: 192 / 481.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.002504, allocations: 3.875 kB / 481.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.002508, allocations: 384 / 481.4 MB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-06/0.002516, allocations: 4.844 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.521e-05/0.002571, allocations: 64.08 kB / 481.4 MB, free: 5.445 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.21e-05/0.002603, allocations: 23.59 kB / 481.5 MB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.047e-05/0.002614, allocations: 8.844 kB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.002895, allocations: 69.94 kB / 481.5 MB, free: 5.336 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.002914, allocations: 36.92 kB / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.002914, allocations: 0 / 481.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.134e-05/0.002986, allocations: 33.64 kB / 481.6 MB, free: 5.254 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.00301, allocations: 56.45 kB / 481.7 MB, free: 5.188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.161e-05/0.003032, allocations: 93.86 kB / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.00304, allocations: 25.7 kB / 481.8 MB, free: 5.055 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.595e-05/0.003056, allocations: 80.77 kB / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.003078, allocations: 0 / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.003097, allocations: 18.62 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.003159, allocations: 315.4 kB / 482.2 MB, free: 4.633 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.003163, allocations: 0.5938 kB / 482.2 MB, free: 4.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-06/0.003169, allocations: 5.438 kB / 482.2 MB, free: 4.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.003187, allocations: 4.859 kB / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.003189, allocations: 0 / 482.2 MB, free: 4.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.112e-05/0.00322, allocations: 38.41 kB / 482.2 MB, free: 4.578 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.003231, allocations: 8.875 kB / 482.2 MB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.003236, allocations: 5.438 kB / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.003244, allocations: 0 / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.731e-05/0.003271, allocations: 0 / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.003273, allocations: 0 / 482.2 MB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-06/0.003282, allocations: 4.844 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.003286, allocations: 0 / 482.2 MB, free: 4.562 MB / 442.7 MB 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 4.585e-05/0.003332, allocations: 110.6 kB / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-06/0.003335, allocations: 0.7656 kB / 482.4 MB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.003378, allocations: 38.28 kB / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00338, allocations: 0 / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.003381, allocations: 5.125 kB / 482.4 MB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.003384, allocations: 0.9844 kB / 482.4 MB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.292e-05/0.003427, allocations: 69.83 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003428, allocations: 0.5625 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.003433, allocations: 1.141 kB / 482.5 MB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.003436, allocations: 7.984 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-06/0.003439, allocations: 0.6562 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.003439, allocations: 0 / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.003439, allocations: 0.5625 kB / 482.5 MB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.84e-05/0.003478, allocations: 58.36 kB / 482.5 MB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-06/0.003482, allocations: 4.625 kB / 482.5 MB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.003488, allocations: 3.984 kB / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-06/0.003492, allocations: 0.7188 kB / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-06/0.0035, allocations: 0 / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.003501, allocations: 0.5312 kB / 482.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.919e-06/0.003506, allocations: 6.859 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003506, allocations: 0 / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.75e-05/0.003603, allocations: 15.94 kB / 482.6 MB, free: 4.203 MB / 442.7 MB 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.0001171/0.00372, allocations: 100.2 kB / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.143e-05/0.003762, allocations: 10.27 kB / 482.7 MB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.003764, allocations: 0 / 482.7 MB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.003768, allocations: 9.484 kB / 482.7 MB, free: 4.074 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.88e-05/0.003807, allocations: 9.078 kB / 482.7 MB, free: 4.066 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001203/0.003927, allocations: 85.34 kB / 482.8 MB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.367e-05/0.003951, allocations: 53.27 kB / 482.8 MB, free: 3.887 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.003958, allocations: 0 / 482.8 MB, free: 3.887 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.003977, allocations: 47.38 kB / 482.9 MB, free: 3.84 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.003977, allocations: 4 kB / 482.9 MB, free: 3.836 MB / 442.7 MB Notification: Performance of Templates: time 0.00163/0.005608, allocations: 483.7 kB / 483.4 MB, free: 3.387 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4665287961252034]