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.001145/0.001145, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001328/0.001328, allocations: 189.5 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8073/0.8073, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 67.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.381, allocations: 80.18 MB / 0.5815 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.003387/0.3844, allocations: 1.426 MB / 0.5829 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006846/0.3851, allocations: 267 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.3852, allocations: 0.625 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.3853, allocations: 5.406 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.3854, allocations: 2.531 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.3859, allocations: 58.97 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.386, allocations: 24.89 kB / 0.5832 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3862, allocations: 2.688 kB / 0.5832 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.3863, allocations: 15.83 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.3863, allocations: 16.89 kB / 0.5833 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3863, allocations: 1.469 kB / 0.5833 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3865, allocations: 60.59 kB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3866, allocations: 5.438 kB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3866, allocations: 13.2 kB / 0.5833 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3868, allocations: 49.17 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3868, allocations: 1.375 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.3868, allocations: 0 / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3868, allocations: 0 / 0.5834 GB, free: 26.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005367/0.3874, allocations: 346.7 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.3875, allocations: 10.91 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3875, allocations: 6.156 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3876, allocations: 173.6 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3877, allocations: 0.875 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3877, allocations: 6.375 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3879, allocations: 43.53 kB / 0.5839 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3879, allocations: 192 / 0.5839 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3879, allocations: 13.39 kB / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3879, allocations: 0 / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3881, allocations: 32.16 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.3885, allocations: 245.6 kB / 0.5842 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3886, allocations: 43.97 kB / 0.5843 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.87e-05/0.3887, allocations: 19.66 kB / 0.5843 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000655/0.3893, allocations: 462.8 kB / 0.5847 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3894, allocations: 31.75 kB / 0.5848 GB, free: 24.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3894, allocations: 0 / 0.5848 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000349/0.3897, allocations: 86.36 kB / 0.5848 GB, free: 24.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3898, allocations: 55.34 kB / 0.5849 GB, free: 24.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.3898, allocations: 100.6 kB / 0.585 GB, free: 24.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.3899, allocations: 29.7 kB / 0.585 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.3899, allocations: 86.34 kB / 0.5851 GB, free: 24.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3899, allocations: 5.031 kB / 0.5851 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.39, allocations: 13.12 kB / 0.5851 GB, free: 24.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.39, allocations: 316 kB / 0.5854 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.3901, allocations: 18.25 kB / 0.5854 GB, free: 24.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.3902, allocations: 16.83 kB / 0.5855 GB, free: 24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3903, allocations: 37.67 kB / 0.5855 GB, free: 23.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3903, allocations: 0.6562 kB / 0.5855 GB, free: 23.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001743/0.3905, allocations: 75.94 kB / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3905, allocations: 4.531 kB / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3906, allocations: 1.125 kB / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3906, allocations: 0 / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.3907, allocations: 9.734 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3907, allocations: 4.5 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3907, allocations: 8.609 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3907, allocations: 0 / 0.5856 GB, free: 23.92 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 (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 6.528e-05/0.3908, allocations: 114.6 kB / 0.5857 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3908, allocations: 11.41 kB / 0.5857 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.3911, allocations: 68.91 kB / 0.5858 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3911, allocations: 0 / 0.5858 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3911, allocations: 3.938 kB / 0.5858 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3911, allocations: 0.5625 kB / 0.5858 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3912, allocations: 168.7 kB / 0.5859 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3912, allocations: 1.562 kB / 0.5859 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.3913, allocations: 7.5 kB / 0.5859 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3913, allocations: 192 / 0.5859 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3913, allocations: 4 kB / 0.586 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3913, allocations: 8.531 kB / 0.586 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3913, allocations: 2.594 kB / 0.586 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.3915, allocations: 163.9 kB / 0.5861 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.3916, allocations: 79.17 kB / 0.5862 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3916, allocations: 0 / 0.5862 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.3917, allocations: 4.375 kB / 0.5862 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3917, allocations: 11.67 kB / 0.5862 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3917, allocations: 1.031 kB / 0.5862 GB, free: 23.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.3918, allocations: 78.75 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.3918, allocations: 0 / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3921, allocations: 18.16 kB / 0.5863 GB, free: 23.18 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.000224/0.3923, allocations: 116.2 kB / 0.5864 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3925, allocations: 46.42 kB / 0.5865 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3925, allocations: 0.5938 kB / 0.5865 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.3926, allocations: 16.39 kB / 0.5865 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3928, allocations: 6.656 kB / 0.5865 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.3932, allocations: 113.1 kB / 0.5866 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3933, allocations: 0.6769 MB / 0.5873 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.3934, allocations: 4.938 kB / 0.5873 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.3934, allocations: 9.5 kB / 0.5873 GB, free: 22.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3934, allocations: 2.031 kB / 0.5873 GB, free: 22.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003196/0.3966, allocations: 0.6468 MB / 0.5879 GB, free: 21.93 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)