Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001355/0.001355, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001399/0.001399, allocations: 173 kB / 23.49 MB, free: 1.055 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.123/1.123, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.7629/0.7629, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5203 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.755e-05, allocations: 5.266 kB / 0.5204 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001922/0.00194, allocations: 1.472 MB / 0.5218 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004678/0.002407, allocations: 260.7 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.002443, allocations: 1.344 kB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.002471, allocations: 0 / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.002512, allocations: 0 / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.002848, allocations: 68.47 kB / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.002911, allocations: 19.92 kB / 0.5221 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.002991, allocations: 5.281 kB / 0.5221 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.003047, allocations: 19.97 kB / 0.5221 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.003079, allocations: 3.984 kB / 0.5222 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.003092, allocations: 6.625 kB / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.003209, allocations: 59.83 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.003225, allocations: 7.984 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.003246, allocations: 4 kB / 0.5222 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003383, allocations: 59.84 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003385, allocations: 0 / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003386, allocations: 0 / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.00339, allocations: 0.5 kB / 0.5223 GB, free: 0.5469 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.000357/0.003747, allocations: 366 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.003791, allocations: 8.031 kB / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.003833, allocations: 8.828 kB / 0.5226 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.003935, allocations: 112.6 kB / 0.5228 GB, free: 0 / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.003957, allocations: 1.406 kB / 0.5228 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.003969, allocations: 12.34 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.004096, allocations: 55.92 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004104, allocations: 192 / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004112, allocations: 384 / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.00412, allocations: 1.312 kB / 0.5228 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.004162, allocations: 7.938 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.004441, allocations: 260.6 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.004489, allocations: 27.06 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.004509, allocations: 8.312 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/0.00483, allocations: 81.84 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.004851, allocations: 34.02 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004852, allocations: 1.812 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.004993, allocations: 49.53 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.005018, allocations: 51.41 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.005088, allocations: 161.9 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.005099, allocations: 27.33 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.005149, allocations: 130.9 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.005166, allocations: 3.953 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.00521, allocations: 19.38 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.005311, allocations: 0.4884 MB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.005324, allocations: 11.06 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.005334, allocations: 0 / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.005358, allocations: 11.69 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00536, allocations: 0 / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.224e-05/0.005412, allocations: 45.62 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005424, allocations: 8 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.005429, allocations: 5.688 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.005441, allocations: 0 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.005498, allocations: 4 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.005502, allocations: 0 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.005518, allocations: 4 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.005522, allocations: 2.219 kB / 0.5242 GB, free: 14.38 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 5.529e-05/0.005577, allocations: 156.6 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.00559, allocations: 7.938 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.005662, allocations: 56.47 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005664, allocations: 0 / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.005667, allocations: 2.75 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.00567, allocations: 0 / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.005753, allocations: 112.6 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.005754, allocations: 0 / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.005772, allocations: 7.984 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005774, allocations: 0 / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.005783, allocations: 4 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005784, allocations: 5.375 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005785, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.005868, allocations: 187.9 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.005873, allocations: 4.781 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-06/0.005883, allocations: 0 / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/0.005912, allocations: 10.12 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.005947, allocations: 7.984 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.005949, allocations: 3.984 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.005982, allocations: 123.2 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.005982, allocations: 0 / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000167/0.006149, allocations: 19.94 kB / 0.5249 GB, free: 13.62 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.0001418/0.006291, allocations: 114.1 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.006e-05/0.006361, allocations: 15.69 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006362, allocations: 2.656 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.006378, allocations: 11.69 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.006543, allocations: 11.98 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.006767, allocations: 118.2 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.006798, allocations: 52.86 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.006813, allocations: 4 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.006832, allocations: 12.5 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.006833, allocations: 1.031 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.00224/0.009073, allocations: 0.6902 MB / 0.5259 GB, free: 12.56 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8082767729647458]