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.0009462/0.0009462, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009897/0.0009897, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.9087/0.9087, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.784/0.784, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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.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 2.094e-06/2.094e-06, allocations: 0 / 0.5208 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.592e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002332/0.002358, allocations: 1.476 MB / 0.5222 GB, free: 424 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.002806, allocations: 241.8 kB / 0.5224 GB, free: 184 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.002843, allocations: 0.9688 kB / 0.5224 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.002872, allocations: 3.938 kB / 0.5225 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.002919, allocations: 6.172 kB / 0.5225 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.003251, allocations: 59.75 kB / 0.5225 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.003305, allocations: 23.92 kB / 0.5225 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.003375, allocations: 4 kB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.003423, allocations: 12.64 kB / 0.5226 GB, free: 76 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.003455, allocations: 11.92 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.003464, allocations: 4.844 kB / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.003581, allocations: 55.94 kB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.003594, allocations: 1.719 kB / 0.5226 GB, free: 4 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.003626, allocations: 12.05 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003743, allocations: 55.73 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003746, allocations: 0 / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003748, allocations: 0 / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.003752, allocations: 0.5938 kB / 0.5227 GB, free: 15.94 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.0002893/0.004041, allocations: 373.6 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.004073, allocations: 8.031 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.004098, allocations: 6.234 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.00416, allocations: 108.6 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.004167, allocations: 384 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-06/0.004173, allocations: 4.375 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.004263, allocations: 51.73 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.004269, allocations: 192 / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-06/0.004275, allocations: 5.656 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.00428, allocations: 4.312 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.004299, allocations: 11.92 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.004496, allocations: 227.1 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.004562, allocations: 35.03 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.004576, allocations: 11.75 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.004836, allocations: 73.88 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.004856, allocations: 37.33 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.004857, allocations: 4 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001159/0.004973, allocations: 50.52 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.004993, allocations: 51.41 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.005052, allocations: 157.9 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.00506, allocations: 26.64 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.005101, allocations: 126.9 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.005118, allocations: 16.5 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.005141, allocations: 15.38 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.00526, allocations: 0.489 MB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.005272, allocations: 0 / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.005283, allocations: 13.08 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.005309, allocations: 11.69 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.00531, allocations: 0.625 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.267e-05/0.005363, allocations: 34.36 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005375, allocations: 8 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00538, allocations: 0.9375 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005391, allocations: 3.938 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.005444, allocations: 10.61 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.005446, allocations: 0 / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.005462, allocations: 4 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.005466, allocations: 0 / 0.5246 GB, free: 13.8 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.171e-05/0.005528, allocations: 160.5 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.005542, allocations: 4 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.005607, allocations: 43.72 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.005611, allocations: 7.938 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.005612, allocations: 0 / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005615, allocations: 0 / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.005702, allocations: 105.2 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005703, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.005724, allocations: 4 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005725, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.005729, allocations: 1.719 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.00573, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005731, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.229e-05/0.005813, allocations: 195.8 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.005818, allocations: 2.25 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.005825, allocations: 0 / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.005857, allocations: 15.98 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.005882, allocations: 0 / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.005885, allocations: 3.938 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3e-05/0.005915, allocations: 123.2 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005915, allocations: 2.75 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001477/0.006063, allocations: 23.92 kB / 0.5253 GB, free: 13.07 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.0001359/0.006199, allocations: 108.7 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.065e-05/0.006249, allocations: 15.67 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006251, allocations: 3.938 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.006264, allocations: 16.44 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.006426, allocations: 13.97 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.006615, allocations: 106.3 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.006645, allocations: 59.3 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.006659, allocations: 0 / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.006696, allocations: 74.84 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.006697, allocations: 0.6562 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.002231/0.008928, allocations: 0.7638 MB / 0.5264 GB, free: 11.89 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: 3.608485346660018]