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.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 106.1 kB / 16.37 MB, free: 6.477 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.001165/0.001165, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7668/0.7668, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3722, allocations: 80.89 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001763/0.374, allocations: 0.5804 MB / 0.5863 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.3744, allocations: 183 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.3745, allocations: 0 / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.3745, allocations: 1.125 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.3745, allocations: 1.312 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.3749, allocations: 52.45 kB / 0.5866 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.3749, allocations: 5.828 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.375, allocations: 6 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.375, allocations: 1.344 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.77e-05/0.375, allocations: 0 / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-06/0.375, allocations: 0.5625 kB / 0.5866 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3752, allocations: 58.56 kB / 0.5866 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-06/0.3752, allocations: 1.125 kB / 0.5866 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.3752, allocations: 0 / 0.5866 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3753, allocations: 40.72 kB / 0.5867 GB, free: 24.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3753, allocations: 1.688 kB / 0.5867 GB, free: 24.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3753, allocations: 0 / 0.5867 GB, free: 24.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3754, allocations: 1.125 kB / 0.5867 GB, free: 24.94 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.0002308/0.3756, allocations: 321.8 kB / 0.587 GB, free: 24.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3756, allocations: 10.48 kB / 0.587 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.3757, allocations: 2.281 kB / 0.587 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.05e-05/0.3757, allocations: 160.4 kB / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3757, allocations: 6.031 kB / 0.5872 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.3757, allocations: 1.094 kB / 0.5872 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.3758, allocations: 33.62 kB / 0.5872 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3759, allocations: 4.125 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3759, allocations: 3.938 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3759, allocations: 1.156 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.3759, allocations: 5.25 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.762e-05/0.376, allocations: 145.2 kB / 0.5873 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.081e-05/0.376, allocations: 21.11 kB / 0.5874 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.376, allocations: 6.359 kB / 0.5874 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.3766, allocations: 453.5 kB / 0.5878 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.3767, allocations: 32.09 kB / 0.5878 GB, free: 23.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.3767, allocations: 0 / 0.5878 GB, free: 23.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001175/0.3768, allocations: 43.58 kB / 0.5879 GB, free: 23.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.3768, allocations: 53.25 kB / 0.5879 GB, free: 23.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.71e-05/0.3769, allocations: 95.06 kB / 0.588 GB, free: 23.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.3769, allocations: 25.7 kB / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.159e-05/0.3769, allocations: 82.88 kB / 0.5881 GB, free: 23.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3769, allocations: 5.531 kB / 0.5881 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.3769, allocations: 16.09 kB / 0.5881 GB, free: 23.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.377, allocations: 312.1 kB / 0.5884 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.377, allocations: 0.6875 kB / 0.5884 GB, free: 22.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.377, allocations: 6.438 kB / 0.5884 GB, free: 22.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.377, allocations: 11.64 kB / 0.5885 GB, free: 22.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.377, allocations: 0.625 kB / 0.5885 GB, free: 22.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.262e-05/0.3771, allocations: 36.25 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3771, allocations: 5.906 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3771, allocations: 7.938 kB / 0.5885 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3771, allocations: 5.031 kB / 0.5885 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-05/0.3772, allocations: 6.672 kB / 0.5885 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3772, allocations: 0 / 0.5885 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.3772, allocations: 1.688 kB / 0.5885 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3772, allocations: 1.5 kB / 0.5885 GB, free: 22.86 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 4.112e-05/0.3773, allocations: 107.9 kB / 0.5886 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.3773, allocations: 1.938 kB / 0.5886 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.3773, allocations: 49.25 kB / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3774, allocations: 0 / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3774, allocations: 1.375 kB / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3774, allocations: 0 / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.71e-05/0.3774, allocations: 144.7 kB / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3774, allocations: 0 / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.3774, allocations: 5.016 kB / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3775, allocations: 1.188 kB / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3775, allocations: 4.531 kB / 0.5888 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3775, allocations: 2.656 kB / 0.5888 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3775, allocations: 0 / 0.5888 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.905e-05/0.3775, allocations: 60.7 kB / 0.5889 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.3775, allocations: 77.11 kB / 0.589 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.3776, allocations: 16.55 kB / 0.589 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-06/0.3776, allocations: 0 / 0.589 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.3776, allocations: 1.125 kB / 0.589 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.3776, allocations: 0 / 0.589 GB, free: 22.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.292e-05/0.3776, allocations: 75.28 kB / 0.589 GB, free: 22.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3776, allocations: 1.031 kB / 0.589 GB, free: 22.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.3778, allocations: 10.16 kB / 0.5891 GB, free: 22.25 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.000187/0.378, allocations: 119 kB / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.419e-05/0.3781, allocations: 10.31 kB / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3781, allocations: 0 / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.3781, allocations: 2.531 kB / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.3782, allocations: 3.719 kB / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.3784, allocations: 77.64 kB / 0.5893 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3785, allocations: 0.6763 MB / 0.5899 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.01e-05/0.3785, allocations: 5.156 kB / 0.5899 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-06/0.3785, allocations: 7.438 kB / 0.5899 GB, free: 21.35 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3785, allocations: 1.281 kB / 0.5899 GB, free: 21.35 MB / 446.1 MB Notification: Performance of Templates: time 0.00228/0.3808, allocations: 403.3 kB / 0.5903 GB, free: 21.16 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (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=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)