Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001081/0.001081, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002605, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001521/0.001521, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001941/0.003462, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.077/1.077, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08825/1.165, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8126/0.8126, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2764/1.089, allocations: 49.14 MB / 448.6 MB, free: 5.906 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0.5469 kB / 450 MB, free: 4.535 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.277e-05, allocations: 2.312 kB / 450 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0009907/0.001003, allocations: 0.6494 MB / 450.7 MB, free: 3.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.001215, allocations: 191.5 kB / 450.9 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.001226, allocations: 0.5469 kB / 450.9 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.176e-06/0.001229, allocations: 0 / 450.9 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-07/0.00123, allocations: 4 kB / 450.9 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.001412, allocations: 44.55 kB / 450.9 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.001449, allocations: 5.469 kB / 450.9 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.001483, allocations: 5.719 kB / 450.9 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.001514, allocations: 4.547 kB / 450.9 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.466e-05/0.001539, allocations: 0.6562 kB / 450.9 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.001548, allocations: 0 / 450.9 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.001701, allocations: 70.78 kB / 451 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.001712, allocations: 2.422 kB / 451 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-06/0.001721, allocations: 0 / 451 MB, free: 3.613 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.164e-05/0.001813, allocations: 32.73 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.001822, allocations: 0.5469 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001823, allocations: 2.406 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.00183, allocations: 0 / 451 MB, free: 3.582 MB / 426.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.000215/0.002045, allocations: 228.6 kB / 451.3 MB, free: 3.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.002072, allocations: 9.234 kB / 451.3 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.002096, allocations: 4.938 kB / 451.3 MB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.78e-05/0.002154, allocations: 109.8 kB / 451.4 MB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.002162, allocations: 384 / 451.4 MB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.00217, allocations: 1.656 kB / 451.4 MB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.00224, allocations: 36.17 kB / 451.4 MB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.002247, allocations: 192 / 451.4 MB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.002253, allocations: 384 / 451.4 MB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.002259, allocations: 1.547 kB / 451.4 MB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.127e-06/0.002268, allocations: 3.938 kB / 451.4 MB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.317e-05/0.002332, allocations: 58.2 kB / 451.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.885e-05/0.00236, allocations: 19.12 kB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-06/0.00237, allocations: 4.859 kB / 451.5 MB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004512/0.002821, allocations: 80.17 kB / 451.6 MB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.00284, allocations: 30.56 kB / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.002841, allocations: 0 / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.116e-05/0.002922, allocations: 38.23 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.002943, allocations: 51.41 kB / 451.7 MB, free: 2.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.232e-05/0.002965, allocations: 89.86 kB / 451.8 MB, free: 2.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.002973, allocations: 26.61 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.725e-05/0.002991, allocations: 84.14 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.003016, allocations: 5.562 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.003034, allocations: 9.719 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.003103, allocations: 320.1 kB / 452.2 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.003107, allocations: 0 / 452.2 MB, free: 2.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.003112, allocations: 3.938 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.961e-05/0.003131, allocations: 9.641 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003133, allocations: 0.9062 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.074e-05/0.003164, allocations: 33.69 kB / 452.3 MB, free: 2.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.003179, allocations: 4.812 kB / 452.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003183, allocations: 0.9844 kB / 452.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.003195, allocations: 0.625 kB / 452.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.302e-05/0.003228, allocations: 4 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.00323, allocations: 1.312 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-06/0.003238, allocations: 2.062 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.003243, allocations: 0.9844 kB / 452.3 MB, free: 2.199 MB / 426.7 MB 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 4.347e-05/0.003286, allocations: 118.2 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-06/0.003289, allocations: 1.219 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.003337, allocations: 40.69 kB / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.003338, allocations: 1.094 kB / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.00334, allocations: 1.062 kB / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.003341, allocations: 0 / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.826e-05/0.00338, allocations: 61.84 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00338, allocations: 0.9688 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-06/0.003385, allocations: 7.984 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-06/0.003388, allocations: 1.438 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00339, allocations: 1.688 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.003393, allocations: 4 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003394, allocations: 4 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.003394, allocations: 1.328 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.761e-05/0.003432, allocations: 62.44 kB / 452.6 MB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-06/0.003437, allocations: 0 / 452.6 MB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-06/0.003441, allocations: 4 kB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-06/0.003448, allocations: 0 / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-07/0.003449, allocations: 1.719 kB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.98e-06/0.003454, allocations: 4.859 kB / 452.6 MB, free: 1.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003454, allocations: 0 / 452.6 MB, free: 1.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.861e-05/0.003553, allocations: 16.72 kB / 452.6 MB, free: 1.824 MB / 426.7 MB 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.0001196/0.003672, allocations: 102.3 kB / 452.7 MB, free: 1.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.364e-05/0.003716, allocations: 14.14 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.003719, allocations: 0.625 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.003728, allocations: 14.12 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.392e-05/0.003772, allocations: 8.562 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001179/0.003889, allocations: 82.12 kB / 452.8 MB, free: 1.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.489e-05/0.003914, allocations: 59.2 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.705e-06/0.003922, allocations: 1.281 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.003945, allocations: 48.09 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.003945, allocations: 0 / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of Templates: time 0.001693/0.005638, allocations: 491.1 kB / 453.4 MB, free: 0.9883 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5813002390787005]