Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007374/0.007374, allocations: 173.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003745, allocations: 12 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001866/0.1932, allocations: 1.146 MB / 0.5891 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.1938, allocations: 248.2 kB / 0.5893 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.1939, allocations: 0 / 0.5893 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1939, allocations: 3.938 kB / 0.5893 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.194, allocations: 4 kB / 0.5893 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1943, allocations: 43.89 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.1944, allocations: 19.94 kB / 0.5894 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.1944, allocations: 11.97 kB / 0.5894 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.1945, allocations: 7.938 kB / 0.5894 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.1945, allocations: 11.98 kB / 0.5894 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1945, allocations: 3.938 kB / 0.5894 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1947, allocations: 59.89 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1947, allocations: 4 kB / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.1948, allocations: 41.62 kB / 0.5895 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1949, allocations: 51.86 kB / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1949, allocations: 0 / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.195, allocations: 0 / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.195, allocations: 0 / 0.5896 GB, free: 0.9336 MB / 494.1 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.0004597/0.1954, allocations: 343.7 kB / 0.5899 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1955, allocations: 8.031 kB / 0.5899 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1955, allocations: 8.938 kB / 0.5899 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1956, allocations: 168.3 kB / 0.5901 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1957, allocations: 4.375 kB / 0.5901 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1957, allocations: 4.375 kB / 0.5901 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1959, allocations: 54.23 kB / 0.5901 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1959, allocations: 192 / 0.5901 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1959, allocations: 7.922 kB / 0.5901 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1959, allocations: 4 kB / 0.5902 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1961, allocations: 39.97 kB / 0.5902 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.1965, allocations: 248.9 kB / 0.5904 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1966, allocations: 46.5 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.1967, allocations: 24.91 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.1974, allocations: 461.5 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1975, allocations: 30.56 kB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1975, allocations: 0 / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004018/0.1979, allocations: 109.5 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1979, allocations: 51.41 kB / 0.5911 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.198, allocations: 105.8 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.198, allocations: 25.7 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1981, allocations: 80.14 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1981, allocations: 12.03 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.1981, allocations: 9.719 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1983, allocations: 314.8 kB / 0.5916 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.1984, allocations: 19.97 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.1985, allocations: 27.98 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1986, allocations: 44.83 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1986, allocations: 0 / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002392/0.1989, allocations: 85.59 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1989, allocations: 8 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1989, allocations: 0 / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1989, allocations: 0 / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.199, allocations: 11.98 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.199, allocations: 7.922 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1991, allocations: 12.03 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1991, allocations: 0 / 0.5918 GB, free: 14.29 MB / 0.4981 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 7.013e-05/0.1992, allocations: 117.8 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1992, allocations: 4 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.1995, allocations: 80.72 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1995, allocations: 4 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1995, allocations: 0 / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1995, allocations: 0 / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1997, allocations: 165.6 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1997, allocations: 3.984 kB / 0.5922 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.1997, allocations: 8 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1998, allocations: 4.031 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1998, allocations: 0 / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1998, allocations: 0 / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1998, allocations: 4 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.2, allocations: 179.4 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2001, allocations: 85.03 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.2001, allocations: 0 / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.2002, allocations: 8 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.2002, allocations: 3.984 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.2002, allocations: 3.938 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.2003, allocations: 87.22 kB / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2003, allocations: 4.031 kB / 0.5926 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002398/0.2005, allocations: 20 kB / 0.5926 GB, free: 13.42 MB / 0.4981 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.0001997/0.2007, allocations: 111.6 kB / 0.5927 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.201, allocations: 43.97 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.201, allocations: 0 / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.2011, allocations: 27.97 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2013, allocations: 11.31 kB / 0.5928 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.2016, allocations: 108.8 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2019, allocations: 0.6809 MB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.2019, allocations: 0 / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.2019, allocations: 7.438 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2019, allocations: 0 / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.00283/0.2048, allocations: 0.5827 MB / 0.5941 GB, free: 11.8 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)