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.001221/0.001221, allocations: 107.8 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.001181/0.001181, allocations: 193.1 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.326/1.326, 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.7659/0.7659, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3771, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001739/0.3789, allocations: 0.5763 MB / 0.5863 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.3793, allocations: 192.8 kB / 0.5865 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.3794, allocations: 2.781 kB / 0.5865 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.3794, allocations: 3.938 kB / 0.5865 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.3794, allocations: 0 / 0.5865 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3798, allocations: 54.98 kB / 0.5866 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.447e-05/0.3798, allocations: 1.281 kB / 0.5866 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.3798, allocations: 5.859 kB / 0.5866 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.3799, allocations: 0 / 0.5866 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.3799, allocations: 2.406 kB / 0.5866 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-06/0.3799, allocations: 0 / 0.5866 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.38, allocations: 59.69 kB / 0.5866 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.3801, allocations: 0 / 0.5866 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.3801, allocations: 0 / 0.5866 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3802, allocations: 49.78 kB / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3802, allocations: 1.438 kB / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3802, allocations: 0 / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3802, allocations: 0 / 0.5867 GB, free: 24.95 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.0002192/0.3804, allocations: 322 kB / 0.587 GB, free: 24.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3805, allocations: 11.55 kB / 0.587 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.3805, allocations: 1.625 kB / 0.587 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.981e-05/0.3806, allocations: 160.4 kB / 0.5872 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3806, allocations: 6.797 kB / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.3806, allocations: 384 / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.964e-05/0.3807, allocations: 33.48 kB / 0.5872 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3807, allocations: 1.25 kB / 0.5872 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.3807, allocations: 3.938 kB / 0.5872 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3807, allocations: 0 / 0.5872 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.3807, allocations: 6.375 kB / 0.5872 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.594e-05/0.3808, allocations: 147.7 kB / 0.5874 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.15e-05/0.3809, allocations: 17.52 kB / 0.5874 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.3809, allocations: 20.8 kB / 0.5874 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.3815, allocations: 453.7 kB / 0.5878 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.3815, allocations: 35.05 kB / 0.5879 GB, free: 23.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3815, allocations: 2.562 kB / 0.5879 GB, free: 23.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.3817, allocations: 41.95 kB / 0.5879 GB, free: 23.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3817, allocations: 52.66 kB / 0.588 GB, free: 23.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.685e-05/0.3817, allocations: 91.17 kB / 0.588 GB, free: 23.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-06/0.3817, allocations: 25.7 kB / 0.5881 GB, free: 23.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.106e-05/0.3817, allocations: 80.77 kB / 0.5881 GB, free: 23.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3818, allocations: 5.188 kB / 0.5882 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.3818, allocations: 11.38 kB / 0.5882 GB, free: 23.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.3819, allocations: 312.6 kB / 0.5885 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.3819, allocations: 0.6562 kB / 0.5885 GB, free: 22.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.3819, allocations: 6.141 kB / 0.5885 GB, free: 22.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.3819, allocations: 13.95 kB / 0.5885 GB, free: 22.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3819, allocations: 3.938 kB / 0.5885 GB, free: 22.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.881e-05/0.382, allocations: 35.14 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.382, allocations: 5.344 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.382, allocations: 1.375 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.382, allocations: 3.938 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.532e-05/0.382, allocations: 2.531 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.382, allocations: 0 / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-06/0.3821, allocations: 2.156 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.3821, allocations: 0 / 0.5885 GB, free: 22.88 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.803e-05/0.3821, allocations: 113.1 kB / 0.5886 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.3821, allocations: 1.281 kB / 0.5886 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3822, allocations: 42.3 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3822, allocations: 3.938 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3822, allocations: 4.844 kB / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3822, allocations: 4.719 kB / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.622e-05/0.3823, allocations: 146.8 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3823, allocations: 2.719 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.3823, allocations: 1 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3823, allocations: 0 / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3823, allocations: 5.031 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3823, allocations: 0.5938 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3823, allocations: 1.625 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.361e-05/0.3824, allocations: 60.38 kB / 0.5889 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.3824, allocations: 78.33 kB / 0.589 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.3824, allocations: 3.938 kB / 0.589 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.3824, allocations: 4.938 kB / 0.589 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-06/0.3824, allocations: 0 / 0.589 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.3824, allocations: 1.344 kB / 0.589 GB, free: 22.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.313e-05/0.3824, allocations: 75.28 kB / 0.5891 GB, free: 22.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.3824, allocations: 0 / 0.5891 GB, free: 22.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.3826, allocations: 19.59 kB / 0.5891 GB, free: 22.27 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.0001683/0.3828, allocations: 114 kB / 0.5892 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.3829, allocations: 7.969 kB / 0.5892 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3829, allocations: 2.125 kB / 0.5892 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.3829, allocations: 2.688 kB / 0.5892 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.383, allocations: 11.33 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.0001438/0.3832, allocations: 80.53 kB / 0.5893 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.536e-05/0.3833, allocations: 0.6703 MB / 0.5899 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.878e-06/0.3833, allocations: 3.531 kB / 0.5899 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-06/0.3833, allocations: 7.438 kB / 0.59 GB, free: 21.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3833, allocations: 0 / 0.59 GB, free: 21.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002082/0.3854, allocations: 410.1 kB / 0.5903 GB, free: 21.18 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)