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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001393/0.001393, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.6 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 73.69 kB / 0.5052 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2005, allocations: 81.02 MB / 0.5843 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.002039/0.2026, allocations: 0.6346 MB / 0.585 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005958/0.2032, allocations: 207.3 kB / 0.5851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.209e-05/0.2032, allocations: 0 / 0.5851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.2033, allocations: 0 / 0.5851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.2033, allocations: 4 kB / 0.5852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.2036, allocations: 47.89 kB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.069e-05/0.2037, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.2038, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.2038, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.2038, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2038, allocations: 4 kB / 0.5852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.2041, allocations: 67.86 kB / 0.5853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2041, allocations: 0 / 0.5853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.2041, allocations: 3.938 kB / 0.5853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2043, allocations: 39.88 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2043, allocations: 4 kB / 0.5853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2044, allocations: 4 kB / 0.5853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2044, allocations: 0 / 0.5853 GB, free: 3.391 MB / 494.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.0006397/0.205, allocations: 315.6 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.2051, allocations: 12.02 kB / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.2051, allocations: 4.938 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.2054, allocations: 166.1 kB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2054, allocations: 4.375 kB / 0.5858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2054, allocations: 4.359 kB / 0.5858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.2055, allocations: 30.27 kB / 0.5858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2055, allocations: 192 / 0.5858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2055, allocations: 11.88 kB / 0.5858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2055, allocations: 0 / 0.5858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.2056, allocations: 3.938 kB / 0.5858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2058, allocations: 145.7 kB / 0.586 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.2058, allocations: 22.61 kB / 0.586 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.2058, allocations: 4.859 kB / 0.586 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000856/0.2067, allocations: 457.5 kB / 0.5864 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2067, allocations: 34.56 kB / 0.5865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2067, allocations: 0 / 0.5865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.2069, allocations: 41.58 kB / 0.5865 GB, free: 1.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2069, allocations: 55.53 kB / 0.5866 GB, free: 1.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.475e-05/0.207, allocations: 89.86 kB / 0.5867 GB, free: 1.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.207, allocations: 25.7 kB / 0.5867 GB, free: 1.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.2071, allocations: 80.14 kB / 0.5868 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2071, allocations: 7.891 kB / 0.5868 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2071, allocations: 13.72 kB / 0.5868 GB, free: 1.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2073, allocations: 314.8 kB / 0.5871 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.2073, allocations: 3.938 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.2073, allocations: 8 kB / 0.5871 GB, free: 1.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.2073, allocations: 4.859 kB / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2073, allocations: 0 / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.982e-05/0.2074, allocations: 37.64 kB / 0.5871 GB, free: 1.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2074, allocations: 4 kB / 0.5871 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2074, allocations: 3.984 kB / 0.5871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2074, allocations: 3.938 kB / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.2075, allocations: 0 / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2075, allocations: 4.094 kB / 0.5871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.2075, allocations: 4 kB / 0.5871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.2075, allocations: 0 / 0.5871 GB, free: 1.195 MB / 494.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 7.509e-05/0.2076, allocations: 109.8 kB / 0.5873 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.2076, allocations: 0 / 0.5873 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.2077, allocations: 44.69 kB / 0.5873 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2077, allocations: 4 kB / 0.5873 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2077, allocations: 0 / 0.5873 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2077, allocations: 0 / 0.5873 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.2078, allocations: 145.7 kB / 0.5874 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2079, allocations: 0 / 0.5874 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.2079, allocations: 4 kB / 0.5874 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2079, allocations: 0 / 0.5874 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2079, allocations: 3.938 kB / 0.5874 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2079, allocations: 3.984 kB / 0.5875 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2079, allocations: 4 kB / 0.5875 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.208, allocations: 57.08 kB / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.2081, allocations: 85.14 kB / 0.5876 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.2081, allocations: 3.938 kB / 0.5876 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.2081, allocations: 0 / 0.5876 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.2081, allocations: 3.984 kB / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.2081, allocations: 0 / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.55e-05/0.2082, allocations: 79.22 kB / 0.5877 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2082, allocations: 0 / 0.5877 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.2084, allocations: 12 kB / 0.5877 GB, free: 0.543 MB / 494.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.0002409/0.2086, allocations: 127.2 kB / 0.5878 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.873e-05/0.2087, allocations: 3.938 kB / 0.5878 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2087, allocations: 0 / 0.5878 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/0.2087, allocations: 4 kB / 0.5878 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.2089, allocations: 0 / 0.5878 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.209, allocations: 78.89 kB / 0.5879 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.2095, allocations: 0.6731 MB / 0.5885 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.2095, allocations: 0 / 0.5885 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.2095, allocations: 11.44 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2095, allocations: 0 / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002807/0.2123, allocations: 412.6 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)