Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008093/0.0008096, 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.005324/0.005323, allocations: 169.9 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003877, allocations: 12.55 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4523, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001435/0.4538, allocations: 1.151 MB / 0.5848 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.4543, allocations: 257.5 kB / 0.585 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.4544, allocations: 4 kB / 0.585 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.4544, allocations: 4.547 kB / 0.585 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.4545, allocations: 4.984 kB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.4548, allocations: 47.09 kB / 0.5851 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.4549, allocations: 19.61 kB / 0.5851 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.455, allocations: 7.312 kB / 0.5851 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.455, allocations: 9.203 kB / 0.5851 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.455, allocations: 13.17 kB / 0.5851 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.4551, allocations: 0.75 kB / 0.5851 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.4553, allocations: 69.84 kB / 0.5852 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.4553, allocations: 2.141 kB / 0.5852 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.4553, allocations: 33.36 kB / 0.5852 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.4555, allocations: 54.56 kB / 0.5853 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4555, allocations: 0 / 0.5853 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4555, allocations: 1.125 kB / 0.5853 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.4555, allocations: 0 / 0.5853 GB, free: 2.914 MB / 430.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.0004168/0.4559, allocations: 352.8 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.456, allocations: 8.656 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.456, allocations: 2.5 kB / 0.5856 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.229e-05/0.4561, allocations: 167.3 kB / 0.5858 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4561, allocations: 5.188 kB / 0.5858 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.4561, allocations: 2.312 kB / 0.5858 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4563, allocations: 58.08 kB / 0.5859 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4563, allocations: 4.188 kB / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4563, allocations: 4.844 kB / 0.5859 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4564, allocations: 0 / 0.5859 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.4565, allocations: 43.25 kB / 0.5859 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.4568, allocations: 262.8 kB / 0.5862 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.457, allocations: 48.73 kB / 0.5862 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.4571, allocations: 25.84 kB / 0.5862 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/0.4578, allocations: 461.7 kB / 0.5867 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4578, allocations: 32.45 kB / 0.5867 GB, free: 1.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.4578, allocations: 0 / 0.5867 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000434/0.4582, allocations: 106.3 kB / 0.5868 GB, free: 1.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.4583, allocations: 53.02 kB / 0.5869 GB, free: 1.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.4584, allocations: 100.5 kB / 0.587 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.4584, allocations: 30.61 kB / 0.587 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.4584, allocations: 86.23 kB / 0.5871 GB, free: 1.109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4584, allocations: 5.688 kB / 0.5871 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.4585, allocations: 9.719 kB / 0.5871 GB, free: 1.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.4585, allocations: 313.1 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4586, allocations: 22.7 kB / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.4587, allocations: 23.11 kB / 0.5874 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.4589, allocations: 51.44 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4589, allocations: 4.062 kB / 0.5875 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002165/0.4591, allocations: 80.42 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4592, allocations: 6.125 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4592, allocations: 0 / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4592, allocations: 1.344 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.4593, allocations: 15.08 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.4593, allocations: 0 / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.4594, allocations: 9.266 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4594, allocations: 0.8438 kB / 0.5876 GB, free: 0.7031 MB / 430.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 (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 5.095e-05/0.4594, allocations: 112.5 kB / 0.5877 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4595, allocations: 1.906 kB / 0.5877 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.4597, allocations: 88.27 kB / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.4597, allocations: 1.594 kB / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4598, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4598, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.4599, allocations: 164.4 kB / 0.5879 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4599, allocations: 0 / 0.5879 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.46, allocations: 15.81 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.46, allocations: 0.7188 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.46, allocations: 0 / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.46, allocations: 1.859 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.46, allocations: 0 / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.4602, allocations: 176.5 kB / 0.5881 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.4603, allocations: 79.05 kB / 0.5882 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4603, allocations: 0.7188 kB / 0.5882 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.4604, allocations: 12.45 kB / 0.5882 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.4604, allocations: 6.547 kB / 0.5882 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4604, allocations: 13.8 kB / 0.5882 GB, free: 76 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.4605, allocations: 83.02 kB / 0.5883 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4605, allocations: 0 / 0.5883 GB, free: 16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4607, allocations: 14.14 kB / 0.5883 GB, free: 16 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 (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.0001963/0.461, allocations: 117.1 kB / 0.5884 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.4612, allocations: 49.88 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4612, allocations: 0 / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.4613, allocations: 29.42 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.4616, allocations: 6.031 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.4618, allocations: 113.5 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.462, allocations: 0.6768 MB / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.145e-05/0.462, allocations: 1.641 kB / 0.5893 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.4621, allocations: 8.531 kB / 0.5893 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4621, allocations: 64 / 0.5893 GB, free: 15.06 MB / 446.1 MB Notification: Performance of Templates: time 0.002886/0.465, allocations: 0.5894 MB / 0.5899 GB, free: 14.99 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)