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.0009718/0.0009718, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001038/0.001038, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9657/0.9657, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.8423/0.8423, allocations: 154.9 MB / 415.1 MB, free: 276 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.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 1.903e-06/1.903e-06, allocations: 0 / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.834e-05, allocations: 9.375 kB / 0.5211 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002867/0.002895, allocations: 1.482 MB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006058/0.003501, allocations: 239.6 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.003546, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.003578, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.003627, allocations: 5.859 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.004016, allocations: 61.42 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.004082, allocations: 27.91 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.004168, allocations: 4 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.004228, allocations: 11.98 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.00427, allocations: 9.453 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004283, allocations: 0 / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.004445, allocations: 59.83 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.004464, allocations: 11.97 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.004481, allocations: 4.75 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.004641, allocations: 51.92 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.004644, allocations: 1.469 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004645, allocations: 0 / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004649, allocations: 0 / 0.523 GB, free: 15.56 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.0003925/0.005042, allocations: 365.9 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.005084, allocations: 8.031 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.005117, allocations: 16.83 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.005208, allocations: 108.6 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.00522, allocations: 5.062 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.005226, allocations: 384 / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.005358, allocations: 58.16 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005365, allocations: 192 / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.005371, allocations: 384 / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.005377, allocations: 384 / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.005399, allocations: 7.938 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.005655, allocations: 236.4 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.005707, allocations: 35.03 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.005726, allocations: 8.25 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/0.006082, allocations: 70.89 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.00611, allocations: 37.39 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.845e-06/0.006113, allocations: 3.984 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000164/0.006277, allocations: 46.47 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.006309, allocations: 51.41 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006411, allocations: 157.9 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006423, allocations: 26.98 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.006485, allocations: 138.9 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.006504, allocations: 7.891 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.006539, allocations: 16.66 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.006696, allocations: 0.4884 MB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.006709, allocations: 0 / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.006721, allocations: 4.812 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.006751, allocations: 15.69 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006753, allocations: 1.281 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.861e-05/0.006832, allocations: 41.64 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.006849, allocations: 8.375 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.006856, allocations: 3.984 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.006872, allocations: 3.938 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.006939, allocations: 4 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006942, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.006966, allocations: 4 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.006971, allocations: 0 / 0.525 GB, free: 13.42 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 8.256e-05/0.007053, allocations: 163.3 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.007078, allocations: 7.922 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.007179, allocations: 41.02 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.007184, allocations: 7.922 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.007187, allocations: 3.938 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.00719, allocations: 0 / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.007326, allocations: 93.27 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007328, allocations: 0.8438 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.007369, allocations: 7.984 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007373, allocations: 1 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.007377, allocations: 0 / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.007379, allocations: 4 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007381, allocations: 0.875 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007507, allocations: 188.3 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.007514, allocations: 0 / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.007525, allocations: 9.484 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.00758, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.007612, allocations: 4 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.007617, allocations: 3.938 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.007663, allocations: 125.6 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007663, allocations: 3.938 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002737/0.007937, allocations: 23.94 kB / 0.5256 GB, free: 12.69 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.0002114/0.008148, allocations: 118 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.6e-05/0.008224, allocations: 11.69 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008227, allocations: 0 / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.008246, allocations: 11.69 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.008509, allocations: 8.812 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.008777, allocations: 107.5 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.008818, allocations: 67.22 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.008838, allocations: 2.875 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.008891, allocations: 70.2 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.008892, allocations: 0 / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.002492/0.01138, allocations: 0.7587 MB / 0.5267 GB, free: 11.52 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.7101292270235717]