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.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 106.6 kB / 16.27 MB, free: 5.992 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.001424/0.001424, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.393/1.393, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.828/0.828, allocations: 135.1 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.89 kB / 0.506 GB, free: 8.301 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3355, allocations: 80.93 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001678/0.3373, allocations: 0.5798 MB / 0.5856 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003899/0.3377, allocations: 186.2 kB / 0.5858 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.104e-05/0.3377, allocations: 0.8438 kB / 0.5858 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.3377, allocations: 0 / 0.5858 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.3377, allocations: 4.625 kB / 0.5858 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.338, allocations: 58.17 kB / 0.5859 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.073e-05/0.3381, allocations: 5.484 kB / 0.5859 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.3381, allocations: 2.031 kB / 0.5859 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.3381, allocations: 1.188 kB / 0.5859 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.586e-05/0.3382, allocations: 0.625 kB / 0.5859 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.3382, allocations: 2.156 kB / 0.5859 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3383, allocations: 57.59 kB / 0.5859 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.3383, allocations: 1.812 kB / 0.5859 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.3384, allocations: 3.984 kB / 0.5859 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.3385, allocations: 36.36 kB / 0.586 GB, free: 24.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3385, allocations: 1.969 kB / 0.586 GB, free: 24.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3385, allocations: 0 / 0.586 GB, free: 24.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3385, allocations: 2.469 kB / 0.586 GB, free: 24.58 MB / 446.1 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.0002024/0.3387, allocations: 317.9 kB / 0.5863 GB, free: 24.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3387, allocations: 10.05 kB / 0.5863 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.3388, allocations: 0.9375 kB / 0.5863 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.803e-05/0.3388, allocations: 169.8 kB / 0.5865 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3388, allocations: 1.781 kB / 0.5865 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.3389, allocations: 1.875 kB / 0.5865 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.3389, allocations: 31.7 kB / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.339, allocations: 1.219 kB / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.339, allocations: 3.938 kB / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.339, allocations: 0 / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.339, allocations: 4.25 kB / 0.5865 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.383e-05/0.3391, allocations: 155 kB / 0.5866 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.726e-05/0.3391, allocations: 15.92 kB / 0.5867 GB, free: 23.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.3391, allocations: 13.45 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/0.3397, allocations: 461.9 kB / 0.5871 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.3397, allocations: 31.19 kB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3397, allocations: 1.469 kB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001029/0.3399, allocations: 43.05 kB / 0.5872 GB, free: 23.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.496e-05/0.3399, allocations: 52.28 kB / 0.5872 GB, free: 23.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.315e-05/0.3399, allocations: 89.86 kB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.3399, allocations: 26.64 kB / 0.5873 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-06/0.3399, allocations: 81.27 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3399, allocations: 8.844 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.34, allocations: 15.95 kB / 0.5875 GB, free: 22.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.56e-05/0.34, allocations: 312.4 kB / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.34, allocations: 1.094 kB / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.34, allocations: 1.969 kB / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.3401, allocations: 8.859 kB / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3401, allocations: 0 / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.952e-05/0.3401, allocations: 39.17 kB / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3401, allocations: 6.188 kB / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.3401, allocations: 0.9062 kB / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3401, allocations: 3.938 kB / 0.5878 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.158e-05/0.3402, allocations: 6.797 kB / 0.5878 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3402, allocations: 0.8125 kB / 0.5878 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-06/0.3402, allocations: 0 / 0.5878 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3402, allocations: 3.781 kB / 0.5878 GB, free: 22.5 MB / 446.1 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 3.298e-05/0.3403, allocations: 107.2 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.3403, allocations: 0 / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.3403, allocations: 37.02 kB / 0.588 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3403, allocations: 4.516 kB / 0.588 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3403, allocations: 1.875 kB / 0.588 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3403, allocations: 7.875 kB / 0.588 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.002e-05/0.3404, allocations: 148.2 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3404, allocations: 0 / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.3404, allocations: 1.5 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3404, allocations: 3.562 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.3404, allocations: 3.938 kB / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3404, allocations: 5.5 kB / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3404, allocations: 0 / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.034e-05/0.3405, allocations: 59.41 kB / 0.5882 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.3405, allocations: 78.48 kB / 0.5883 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.3405, allocations: 3.938 kB / 0.5883 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-06/0.3405, allocations: 2 kB / 0.5883 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.3405, allocations: 4.703 kB / 0.5883 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3405, allocations: 1.562 kB / 0.5883 GB, free: 21.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.248e-05/0.3406, allocations: 79.92 kB / 0.5883 GB, free: 21.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3406, allocations: 0.625 kB / 0.5883 GB, free: 21.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.3408, allocations: 14.84 kB / 0.5884 GB, free: 21.89 MB / 446.1 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.0001602/0.3409, allocations: 123.6 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.329e-05/0.341, allocations: 7.953 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.341, allocations: 0.6875 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.341, allocations: 3.312 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.3412, allocations: 3.719 kB / 0.5885 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001394/0.3413, allocations: 106.2 kB / 0.5886 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.419e-05/0.3414, allocations: 0.6715 MB / 0.5892 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.007e-05/0.3414, allocations: 7.438 kB / 0.5893 GB, free: 20.95 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3414, allocations: 2.688 kB / 0.5893 GB, free: 20.95 MB / 446.1 MB Notification: Performance of Templates: time 0.001829/0.3432, allocations: 0.5499 MB / 0.5898 GB, free: 20.71 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)