Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000769/0.0007689, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004978/0.004978, allocations: 172.9 kB / 16.27 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 8 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4432, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008027/0.444, allocations: 320.6 kB / 0.584 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.4446, allocations: 192.4 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.4446, allocations: 0 / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.4447, allocations: 0.7188 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.4447, allocations: 1.062 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.445, allocations: 50.41 kB / 0.5842 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.679e-05/0.445, allocations: 4.594 kB / 0.5842 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.4451, allocations: 1.812 kB / 0.5842 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.285e-05/0.4451, allocations: 0.875 kB / 0.5842 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.4451, allocations: 1.375 kB / 0.5842 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.4451, allocations: 1.031 kB / 0.5842 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.4453, allocations: 68.44 kB / 0.5843 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-06/0.4453, allocations: 5.562 kB / 0.5843 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.4453, allocations: 25.7 kB / 0.5843 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.4455, allocations: 41.33 kB / 0.5844 GB, free: 3.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4455, allocations: 0 / 0.5844 GB, free: 3.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4455, allocations: 1.156 kB / 0.5844 GB, free: 3.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.4455, allocations: 0 / 0.5844 GB, free: 3.602 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001875/0.4457, allocations: 318.1 kB / 0.5847 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4457, allocations: 9.688 kB / 0.5847 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.4457, allocations: 0.9375 kB / 0.5847 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.877e-05/0.4458, allocations: 162.8 kB / 0.5848 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4458, allocations: 4.375 kB / 0.5848 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.4458, allocations: 2.656 kB / 0.5848 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.253e-05/0.4459, allocations: 29.95 kB / 0.5849 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4459, allocations: 9.5 kB / 0.5849 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.4459, allocations: 3.938 kB / 0.5849 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4459, allocations: 0 / 0.5849 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.446, allocations: 1.391 kB / 0.5849 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.729e-05/0.4461, allocations: 149.5 kB / 0.585 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.896e-05/0.4461, allocations: 20.61 kB / 0.585 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.4461, allocations: 6.547 kB / 0.585 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.4467, allocations: 458.4 kB / 0.5855 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.4468, allocations: 36.84 kB / 0.5855 GB, free: 2.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.4468, allocations: 0 / 0.5855 GB, free: 2.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.4469, allocations: 38.77 kB / 0.5856 GB, free: 2.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.4469, allocations: 53.27 kB / 0.5856 GB, free: 2.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.41e-05/0.4469, allocations: 89.86 kB / 0.5857 GB, free: 2.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.447, allocations: 26.95 kB / 0.5857 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-06/0.447, allocations: 84.08 kB / 0.5858 GB, free: 1.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.447, allocations: 4.609 kB / 0.5858 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.447, allocations: 10.75 kB / 0.5858 GB, free: 1.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.4471, allocations: 320.1 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.4471, allocations: 0.5938 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-06/0.4471, allocations: 2.25 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.4471, allocations: 11.23 kB / 0.5861 GB, free: 1.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4471, allocations: 0 / 0.5861 GB, free: 1.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.342e-05/0.4472, allocations: 33.7 kB / 0.5862 GB, free: 1.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.4472, allocations: 4.188 kB / 0.5862 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4472, allocations: 4.688 kB / 0.5862 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4472, allocations: 5.516 kB / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.4472, allocations: 2.031 kB / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4473, allocations: 0 / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.4473, allocations: 0.6562 kB / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.4473, allocations: 1.312 kB / 0.5862 GB, free: 1.555 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 (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.906e-05/0.4473, allocations: 111.8 kB / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-06/0.4473, allocations: 0 / 0.5863 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.4474, allocations: 43.72 kB / 0.5863 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4474, allocations: 4.688 kB / 0.5863 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.4474, allocations: 0.9688 kB / 0.5863 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4474, allocations: 7.984 kB / 0.5863 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.551e-05/0.4475, allocations: 148.5 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4475, allocations: 2.016 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.4475, allocations: 1.875 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4475, allocations: 0 / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.4475, allocations: 4.938 kB / 0.5865 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4475, allocations: 0 / 0.5865 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4475, allocations: 0.6562 kB / 0.5865 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.533e-05/0.4476, allocations: 64.64 kB / 0.5866 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.4476, allocations: 79 kB / 0.5866 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.4476, allocations: 5.766 kB / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.4476, allocations: 0 / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.4476, allocations: 1.969 kB / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.4476, allocations: 0 / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.065e-05/0.4477, allocations: 75.28 kB / 0.5867 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4477, allocations: 4.031 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.4479, allocations: 16.41 kB / 0.5867 GB, free: 0.9336 MB / 430.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.0001703/0.448, allocations: 114.2 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.527e-05/0.4481, allocations: 4.641 kB / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4481, allocations: 64 / 0.5868 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.4481, allocations: 6.5 kB / 0.5869 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.4483, allocations: 7.703 kB / 0.5869 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001206/0.4484, allocations: 80.81 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.723e-05/0.4485, allocations: 0.6729 MB / 0.5876 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.007e-05/0.4485, allocations: 0.7969 kB / 0.5876 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-06/0.4485, allocations: 8.594 kB / 0.5876 GB, free: 36 kB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4485, allocations: 3.938 kB / 0.5876 GB, free: 32 kB / 430.1 MB Notification: Performance of Templates: time 0.002229/0.4507, allocations: 393.8 kB / 0.588 GB, free: 15.97 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)