Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001816/0.001816, allocations: 85.48 kB / 19.44 MB, free: 344 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.001989/0.001989, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.33/1.33, allocations: 154.6 MB / 414.1 MB, free: 0.6211 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 178] 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0.875 kB / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.51e-05, allocations: 8.359 kB / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.003181/0.003216, allocations: 1.454 MB / 0.5211 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.003956, allocations: 242 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.003991, allocations: 0 / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.004022, allocations: 0.6875 kB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.004083, allocations: 3.938 kB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.004557, allocations: 56.47 kB / 0.5213 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.791e-05/0.004655, allocations: 16.62 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004773, allocations: 11.97 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.00485, allocations: 17.31 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.004896, allocations: 7.984 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.004913, allocations: 4 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.005085, allocations: 48.73 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.005109, allocations: 15.97 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.005135, allocations: 4.781 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.005351, allocations: 63.84 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.005355, allocations: 3.938 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005356, allocations: 3.062 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.005362, allocations: 0 / 0.5215 GB, free: 0.5781 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005937/0.005955, allocations: 368.2 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.005997, allocations: 8.031 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.006047, allocations: 4.891 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.006181, allocations: 108.6 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.006197, allocations: 4.375 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.006212, allocations: 8.875 kB / 0.522 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.006385, allocations: 39.31 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.006396, allocations: 192 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.006405, allocations: 384 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.00641, allocations: 0.9062 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.006547, allocations: 32.81 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.006954, allocations: 255.9 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.007077, allocations: 36.02 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.007145, allocations: 19.75 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/0.007636, allocations: 78.84 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.007673, allocations: 37.33 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007674, allocations: 0 / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003005/0.007974, allocations: 74.72 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.008022, allocations: 51.41 kB / 0.5226 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.008154, allocations: 162.6 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.008172, allocations: 27.39 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.008258, allocations: 130.9 kB / 0.5229 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.008279, allocations: 7.938 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.008321, allocations: 23.38 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000279/0.0086, allocations: 496.1 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.008652, allocations: 9.234 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.008698, allocations: 12 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.008799, allocations: 32.36 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0088, allocations: 1.188 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001397/0.00894, allocations: 54.41 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.008957, allocations: 7.984 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008963, allocations: 4.562 kB / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.00898, allocations: 4 kB / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.009044, allocations: 5.094 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.009049, allocations: 0 / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.009076, allocations: 0 / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.009084, allocations: 4.719 kB / 0.5235 GB, free: 14.32 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 0.000117/0.009201, allocations: 161.3 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.009226, allocations: 4 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.009433, allocations: 66.62 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009436, allocations: 0 / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.009442, allocations: 3.984 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.009445, allocations: 192 / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.009603, allocations: 114.2 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009604, allocations: 0 / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.009651, allocations: 15.97 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009653, allocations: 0 / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.009659, allocations: 2.75 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.009663, allocations: 3.938 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.009666, allocations: 4 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.009912, allocations: 207.8 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.00992, allocations: 7.922 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.009936, allocations: 4 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.009993, allocations: 6 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.01003, allocations: 4 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.01003, allocations: 0 / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.817e-05/0.01011, allocations: 131.2 kB / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01011, allocations: 0 / 0.5242 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002345/0.01035, allocations: 12.94 kB / 0.5243 GB, free: 13.53 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.0002254/0.01057, allocations: 116.8 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.01074, allocations: 35.61 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01074, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.01081, allocations: 23.62 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01105, allocations: 14.55 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.01137, allocations: 114.3 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.01143, allocations: 55.36 kB / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.01145, allocations: 3.125 kB / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.01148, allocations: 12.5 kB / 0.5246 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01148, allocations: 0 / 0.5246 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.003632/0.01512, allocations: 0.6923 MB / 0.5253 GB, free: 12.44 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.945416546892375]