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.001096/0.001096, allocations: 113.9 kB / 16.37 MB, free: 6.016 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.001134/0.001135, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8948/0.8948, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3228, allocations: 80.92 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.00155/0.3244, allocations: 0.5716 MB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003617/0.3248, allocations: 190.8 kB / 0.5865 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.125e-05/0.3248, allocations: 1.438 kB / 0.5865 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.3248, allocations: 0.6562 kB / 0.5865 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.658e-06/0.3248, allocations: 0 / 0.5865 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3252, allocations: 51.06 kB / 0.5866 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.222e-05/0.3252, allocations: 1.438 kB / 0.5866 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.3252, allocations: 7.984 kB / 0.5866 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.101e-05/0.3252, allocations: 1.094 kB / 0.5866 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.676e-05/0.3253, allocations: 4.891 kB / 0.5866 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.3253, allocations: 1.781 kB / 0.5866 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.3254, allocations: 54.36 kB / 0.5866 GB, free: 24.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-06/0.3254, allocations: 1.281 kB / 0.5866 GB, free: 24.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.238e-05/0.3255, allocations: 0 / 0.5866 GB, free: 24.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.3256, allocations: 36.31 kB / 0.5867 GB, free: 24.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3256, allocations: 3.938 kB / 0.5867 GB, free: 24.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3256, allocations: 1.312 kB / 0.5867 GB, free: 24.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3256, allocations: 1.469 kB / 0.5867 GB, free: 24.89 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.0001911/0.3258, allocations: 321.6 kB / 0.587 GB, free: 24.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3258, allocations: 9.953 kB / 0.587 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.3259, allocations: 1.531 kB / 0.587 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.748e-05/0.3259, allocations: 167.1 kB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3259, allocations: 4.375 kB / 0.5872 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3259, allocations: 1.844 kB / 0.5872 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.326, allocations: 36.78 kB / 0.5872 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.326, allocations: 192 / 0.5872 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.326, allocations: 3.938 kB / 0.5872 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.326, allocations: 2.031 kB / 0.5872 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.3261, allocations: 2.562 kB / 0.5872 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.288e-05/0.3262, allocations: 141.7 kB / 0.5873 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.84e-05/0.3262, allocations: 22.7 kB / 0.5874 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.3262, allocations: 6.266 kB / 0.5874 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.3268, allocations: 456.5 kB / 0.5878 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3268, allocations: 33.09 kB / 0.5878 GB, free: 23.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3268, allocations: 0.5 kB / 0.5878 GB, free: 23.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001039/0.3269, allocations: 39.11 kB / 0.5879 GB, free: 23.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.327, allocations: 52.88 kB / 0.5879 GB, free: 23.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.515e-05/0.327, allocations: 91.8 kB / 0.588 GB, free: 23.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.327, allocations: 25.7 kB / 0.588 GB, free: 23.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.327, allocations: 86.86 kB / 0.5881 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.327, allocations: 4.906 kB / 0.5881 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.327, allocations: 21.12 kB / 0.5881 GB, free: 23.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.3271, allocations: 310.8 kB / 0.5884 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.3271, allocations: 1.562 kB / 0.5884 GB, free: 22.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.3271, allocations: 10.47 kB / 0.5884 GB, free: 22.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.985e-05/0.3271, allocations: 7.078 kB / 0.5885 GB, free: 22.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3271, allocations: 0.9062 kB / 0.5885 GB, free: 22.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.163e-05/0.3272, allocations: 32.11 kB / 0.5885 GB, free: 22.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3272, allocations: 10.2 kB / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3272, allocations: 0 / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3272, allocations: 7.875 kB / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.3273, allocations: 4.188 kB / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3273, allocations: 0 / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-06/0.3273, allocations: 0 / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3273, allocations: 5.438 kB / 0.5885 GB, free: 22.81 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.669e-05/0.3273, allocations: 112.8 kB / 0.5886 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.3274, allocations: 1.094 kB / 0.5886 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.3274, allocations: 45.72 kB / 0.5887 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3274, allocations: 1.656 kB / 0.5887 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3274, allocations: 0 / 0.5887 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3274, allocations: 1.562 kB / 0.5887 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.175e-05/0.3275, allocations: 141.7 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3275, allocations: 1.25 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.3275, allocations: 4.312 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3275, allocations: 3.984 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.3275, allocations: 5.438 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3275, allocations: 0 / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3275, allocations: 0 / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.44e-05/0.3276, allocations: 60.05 kB / 0.5889 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3276, allocations: 77.64 kB / 0.589 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.3276, allocations: 5.406 kB / 0.589 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.3277, allocations: 4.516 kB / 0.589 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-06/0.3277, allocations: 3.75 kB / 0.589 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.3277, allocations: 0 / 0.589 GB, free: 22.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.608e-06/0.3277, allocations: 75.28 kB / 0.589 GB, free: 22.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3277, allocations: 1.375 kB / 0.589 GB, free: 22.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.3279, allocations: 10.56 kB / 0.589 GB, free: 22.21 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.0001734/0.3281, allocations: 120 kB / 0.5892 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.3281, allocations: 7.438 kB / 0.5892 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3281, allocations: 1.094 kB / 0.5892 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.3282, allocations: 6.156 kB / 0.5892 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3283, allocations: 1.281 kB / 0.5892 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001329/0.3284, allocations: 79.2 kB / 0.5893 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.362e-05/0.3285, allocations: 0.6742 MB / 0.5899 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.888e-06/0.3285, allocations: 1.25 kB / 0.5899 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-06/0.3285, allocations: 12.81 kB / 0.5899 GB, free: 21.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3285, allocations: 0 / 0.5899 GB, free: 21.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002115/0.3307, allocations: 413.8 kB / 0.5903 GB, free: 21.11 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)