Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001164/0.001164, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001916/0.001916, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.865/0.865, allocations: 154.9 MB / 415.9 MB, free: 272 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5219 GB, free: 1.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.613e-05, allocations: 6.078 kB / 0.5219 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001088/0.001104, allocations: 0.5932 MB / 0.5225 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000361/0.001465, allocations: 177.8 kB / 0.5227 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.001483, allocations: 0.5 kB / 0.5227 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.001499, allocations: 0.5625 kB / 0.5227 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.001505, allocations: 0 / 0.5227 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.001847, allocations: 48.34 kB / 0.5227 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.927e-05/0.001886, allocations: 8.859 kB / 0.5228 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.001922, allocations: 3.984 kB / 0.5228 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.001946, allocations: 1.469 kB / 0.5228 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.282e-05/0.001969, allocations: 0 / 0.5228 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.001977, allocations: 0 / 0.5228 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.002128, allocations: 55.89 kB / 0.5228 GB, free: 484 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.002139, allocations: 0 / 0.5228 GB, free: 484 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.709e-06/0.002149, allocations: 0.9375 kB / 0.5228 GB, free: 484 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.002436, allocations: 47.86 kB / 0.5229 GB, free: 436 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.002438, allocations: 1.094 kB / 0.5229 GB, free: 436 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002438, allocations: 0 / 0.5229 GB, free: 436 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.002443, allocations: 0 / 0.5229 GB, free: 436 kB / 490.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.0002347/0.002678, allocations: 349.8 kB / 0.5232 GB, free: 48 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.00271, allocations: 12.03 kB / 0.5232 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.002733, allocations: 0.9375 kB / 0.5232 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.898e-05/0.002802, allocations: 108.6 kB / 0.5233 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.002813, allocations: 1.188 kB / 0.5233 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.002819, allocations: 4.375 kB / 0.5233 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.00288, allocations: 27.55 kB / 0.5233 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.002887, allocations: 192 / 0.5233 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.002893, allocations: 384 / 0.5233 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.002898, allocations: 1.719 kB / 0.5233 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.336e-05/0.002911, allocations: 11.88 kB / 0.5234 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.75e-05/0.002998, allocations: 93.25 kB / 0.5234 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.003039, allocations: 35.86 kB / 0.5235 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.003051, allocations: 7.688 kB / 0.5235 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.003365, allocations: 67.89 kB / 0.5235 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.003386, allocations: 37.39 kB / 0.5236 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.003387, allocations: 0 / 0.5236 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 9.98e-05/0.003487, allocations: 37.64 kB / 0.5236 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.003511, allocations: 51.41 kB / 0.5237 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.827e-05/0.003549, allocations: 142.8 kB / 0.5238 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.003557, allocations: 25.7 kB / 0.5238 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.003586, allocations: 128.3 kB / 0.524 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.00361, allocations: 0 / 0.524 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.003631, allocations: 19.38 kB / 0.524 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.003739, allocations: 0.4883 MB / 0.5244 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.003744, allocations: 0.9375 kB / 0.5244 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.003748, allocations: 0 / 0.5244 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.003772, allocations: 16.62 kB / 0.5245 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.003774, allocations: 0 / 0.5245 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.951e-05/0.003813, allocations: 38.83 kB / 0.5245 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003825, allocations: 8 kB / 0.5245 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.00383, allocations: 1.219 kB / 0.5245 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.003838, allocations: 0 / 0.5245 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.003863, allocations: 0 / 0.5245 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.003866, allocations: 0 / 0.5245 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-06/0.003875, allocations: 8.609 kB / 0.5245 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.003878, allocations: 4.594 kB / 0.5245 GB, free: 14.54 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 (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 5.909e-05/0.003938, allocations: 157.8 kB / 0.5247 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-06/0.003941, allocations: 0 / 0.5247 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.003995, allocations: 36.98 kB / 0.5247 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.003998, allocations: 0 / 0.5247 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.004001, allocations: 6.438 kB / 0.5247 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.004003, allocations: 0 / 0.5247 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.675e-05/0.00406, allocations: 97.19 kB / 0.5248 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004061, allocations: 0 / 0.5248 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.004065, allocations: 0 / 0.5248 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.004067, allocations: 4 kB / 0.5248 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.00407, allocations: 2.938 kB / 0.5248 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004071, allocations: 0 / 0.5248 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004072, allocations: 0 / 0.5248 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.175e-05/0.004124, allocations: 84.31 kB / 0.5249 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.004128, allocations: 0 / 0.5249 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-06/0.004134, allocations: 0 / 0.5249 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-06/0.004137, allocations: 0 / 0.5249 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.004147, allocations: 3.938 kB / 0.5249 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.004149, allocations: 4.609 kB / 0.5249 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.004179, allocations: 123.2 kB / 0.525 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004179, allocations: 1.344 kB / 0.525 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001306/0.00431, allocations: 8 kB / 0.525 GB, free: 13.96 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 (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.0001344/0.004444, allocations: 121.8 kB / 0.5251 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.168e-05/0.004496, allocations: 7.688 kB / 0.5252 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.004497, allocations: 2.75 kB / 0.5252 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-06/0.004502, allocations: 11.69 kB / 0.5252 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.844e-05/0.004591, allocations: 7.938 kB / 0.5252 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/0.004724, allocations: 87.97 kB / 0.5253 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.513e-05/0.004749, allocations: 51.36 kB / 0.5253 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.318e-06/0.004759, allocations: 4 kB / 0.5253 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.004785, allocations: 75.17 kB / 0.5254 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.004786, allocations: 0 / 0.5254 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.001734/0.00652, allocations: 475.3 kB / 0.5258 GB, free: 13.09 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7668851451016963]