Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00115/0.00115, allocations: 105.5 kB / 16.36 MB, free: 6.293 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.001166/0.001166, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8191/0.8191, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 80.91 MB / 0.5858 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002376/0.3314, allocations: 1.433 MB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.3319, allocations: 257.9 kB / 0.5874 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.3319, allocations: 0.75 kB / 0.5874 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.332, allocations: 5.312 kB / 0.5874 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.332, allocations: 0.7188 kB / 0.5874 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.3324, allocations: 63.84 kB / 0.5875 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.3324, allocations: 25.02 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.3325, allocations: 3.781 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.3326, allocations: 15.14 kB / 0.5875 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.3326, allocations: 7.953 kB / 0.5875 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.3326, allocations: 1.469 kB / 0.5875 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3328, allocations: 65.25 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.3328, allocations: 5.531 kB / 0.5876 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.3328, allocations: 9.797 kB / 0.5876 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.333, allocations: 59.86 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.333, allocations: 0 / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.333, allocations: 0 / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.333, allocations: 1.469 kB / 0.5877 GB, free: 23.99 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.0003654/0.3334, allocations: 345.4 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3334, allocations: 9.891 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.3335, allocations: 2.062 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.3335, allocations: 169.9 kB / 0.5882 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3336, allocations: 6.312 kB / 0.5882 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3336, allocations: 1.656 kB / 0.5882 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3337, allocations: 51.17 kB / 0.5882 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3338, allocations: 192 / 0.5882 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3338, allocations: 4.719 kB / 0.5882 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3338, allocations: 1.5 kB / 0.5882 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.3339, allocations: 31.72 kB / 0.5882 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.3342, allocations: 245.1 kB / 0.5885 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3343, allocations: 45.38 kB / 0.5885 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.3344, allocations: 28.41 kB / 0.5886 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.335, allocations: 461.7 kB / 0.589 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.335, allocations: 31.88 kB / 0.589 GB, free: 22.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.335, allocations: 3.938 kB / 0.589 GB, free: 22.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002974/0.3353, allocations: 77.2 kB / 0.5891 GB, free: 22.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.3353, allocations: 56 kB / 0.5892 GB, free: 22.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.3354, allocations: 104.3 kB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.3354, allocations: 25.7 kB / 0.5893 GB, free: 22.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.3354, allocations: 90.03 kB / 0.5894 GB, free: 22.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3354, allocations: 5 kB / 0.5894 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.3355, allocations: 13.5 kB / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.3355, allocations: 316.3 kB / 0.5897 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.3356, allocations: 17.7 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.3357, allocations: 15.2 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3358, allocations: 39.11 kB / 0.5898 GB, free: 21.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3358, allocations: 1.125 kB / 0.5898 GB, free: 21.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001583/0.336, allocations: 73.81 kB / 0.5898 GB, free: 21.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.336, allocations: 5.844 kB / 0.5898 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.336, allocations: 1.188 kB / 0.5898 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.336, allocations: 3.984 kB / 0.5898 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.3361, allocations: 11.05 kB / 0.5898 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3361, allocations: 0.5 kB / 0.5898 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.3361, allocations: 8.859 kB / 0.5899 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3361, allocations: 2.5 kB / 0.5899 GB, free: 21.7 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 4.194e-05/0.3362, allocations: 113 kB / 0.59 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3362, allocations: 5.062 kB / 0.59 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.3364, allocations: 74.53 kB / 0.59 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3364, allocations: 1.25 kB / 0.59 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3364, allocations: 0.8125 kB / 0.59 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3364, allocations: 0 / 0.59 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3366, allocations: 167.2 kB / 0.5902 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3366, allocations: 3.938 kB / 0.5902 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.3366, allocations: 11.17 kB / 0.5902 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3366, allocations: 0 / 0.5902 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3366, allocations: 2.094 kB / 0.5902 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3366, allocations: 0 / 0.5902 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3366, allocations: 5.562 kB / 0.5902 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3368, allocations: 164.9 kB / 0.5904 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.3369, allocations: 78.58 kB / 0.5905 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3369, allocations: 0 / 0.5905 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.337, allocations: 10.45 kB / 0.5905 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.337, allocations: 1.5 kB / 0.5905 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.337, allocations: 1.25 kB / 0.5905 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.337, allocations: 81.53 kB / 0.5905 GB, free: 20.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 1.344 kB / 0.5905 GB, free: 20.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3373, allocations: 19.41 kB / 0.5906 GB, free: 20.97 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.000155/0.3374, allocations: 119.7 kB / 0.5907 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3376, allocations: 40.23 kB / 0.5907 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3376, allocations: 0 / 0.5907 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.3377, allocations: 20.33 kB / 0.5907 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3379, allocations: 6.969 kB / 0.5907 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.3382, allocations: 104.1 kB / 0.5908 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.3383, allocations: 0.6777 MB / 0.5915 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.968e-05/0.3383, allocations: 1.688 kB / 0.5915 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.3383, allocations: 9.375 kB / 0.5915 GB, free: 20.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3383, allocations: 3.938 kB / 0.5915 GB, free: 20.02 MB / 446.1 MB Notification: Performance of Templates: time 0.002529/0.3408, allocations: 0.6541 MB / 0.5922 GB, free: 19.46 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)