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.001148/0.001148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 192.7 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7289/0.7289, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 62.59 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4487, allocations: 80.2 MB / 0.5801 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002816/0.4516, allocations: 1.414 MB / 0.5815 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.4522, allocations: 273.3 kB / 0.5817 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.4522, allocations: 0.9688 kB / 0.5817 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.4522, allocations: 0 / 0.5817 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.4523, allocations: 5.344 kB / 0.5817 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.4527, allocations: 59.03 kB / 0.5818 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.4527, allocations: 24.58 kB / 0.5818 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4529, allocations: 7.547 kB / 0.5818 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.4529, allocations: 8.953 kB / 0.5818 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.453, allocations: 13.92 kB / 0.5818 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.453, allocations: 1.969 kB / 0.5818 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.4532, allocations: 55.58 kB / 0.5819 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.4532, allocations: 6.031 kB / 0.5819 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.4532, allocations: 14.56 kB / 0.5819 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.4534, allocations: 57.92 kB / 0.582 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4534, allocations: 0 / 0.582 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4534, allocations: 1.25 kB / 0.582 GB, free: 3.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.4534, allocations: 0 / 0.582 GB, free: 3.527 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.000416/0.4538, allocations: 345.8 kB / 0.5823 GB, free: 3.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4539, allocations: 8.844 kB / 0.5823 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.4539, allocations: 2.938 kB / 0.5823 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.454, allocations: 167.4 kB / 0.5825 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.454, allocations: 9.125 kB / 0.5825 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.454, allocations: 2.125 kB / 0.5825 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4542, allocations: 53.12 kB / 0.5825 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4542, allocations: 192 / 0.5825 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4542, allocations: 4.781 kB / 0.5825 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4543, allocations: 0 / 0.5825 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.4544, allocations: 37.34 kB / 0.5826 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.4547, allocations: 251.3 kB / 0.5828 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.4549, allocations: 39.59 kB / 0.5829 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.455, allocations: 20.19 kB / 0.5829 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.4556, allocations: 462.1 kB / 0.5833 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4557, allocations: 32.03 kB / 0.5833 GB, free: 2.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.4557, allocations: 0 / 0.5833 GB, free: 2.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.456, allocations: 83.64 kB / 0.5834 GB, free: 2.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.4561, allocations: 57.56 kB / 0.5835 GB, free: 1.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.4561, allocations: 100.8 kB / 0.5836 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.4561, allocations: 26.31 kB / 0.5836 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.4562, allocations: 89.78 kB / 0.5837 GB, free: 1.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.4562, allocations: 4.781 kB / 0.5837 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.4562, allocations: 17.61 kB / 0.5837 GB, free: 1.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.4563, allocations: 312.1 kB / 0.584 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.4564, allocations: 22.28 kB / 0.584 GB, free: 1.398 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.4565, allocations: 18.55 kB / 0.584 GB, free: 1.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.4566, allocations: 40.61 kB / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4566, allocations: 0 / 0.5841 GB, free: 1.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.4569, allocations: 71.55 kB / 0.5842 GB, free: 1.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4569, allocations: 5.781 kB / 0.5842 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4569, allocations: 3.984 kB / 0.5842 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4569, allocations: 1.156 kB / 0.5842 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.457, allocations: 8.969 kB / 0.5842 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.457, allocations: 0 / 0.5842 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.4571, allocations: 10.53 kB / 0.5842 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.4571, allocations: 0.7188 kB / 0.5842 GB, free: 1.328 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 6.235e-05/0.4571, allocations: 120.6 kB / 0.5843 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.4572, allocations: 5.5 kB / 0.5843 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.4574, allocations: 71.52 kB / 0.5844 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4574, allocations: 0 / 0.5844 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4574, allocations: 1.422 kB / 0.5844 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4574, allocations: 0 / 0.5844 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.4575, allocations: 163.9 kB / 0.5845 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4576, allocations: 0 / 0.5845 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.4576, allocations: 13.47 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4576, allocations: 0.7031 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4576, allocations: 0.8438 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4576, allocations: 0 / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4577, allocations: 1.375 kB / 0.5845 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.4579, allocations: 163.2 kB / 0.5847 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.4579, allocations: 81.84 kB / 0.5848 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4579, allocations: 1.875 kB / 0.5848 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.458, allocations: 10.89 kB / 0.5848 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.4581, allocations: 1.359 kB / 0.5848 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4581, allocations: 1.844 kB / 0.5848 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.784e-05/0.4581, allocations: 78.53 kB / 0.5849 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4581, allocations: 5.656 kB / 0.5849 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000239/0.4583, allocations: 12.97 kB / 0.5849 GB, free: 0.6328 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 (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.0002201/0.4586, allocations: 122.8 kB / 0.585 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4588, allocations: 38.48 kB / 0.585 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4588, allocations: 1.344 kB / 0.585 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.4589, allocations: 23.25 kB / 0.5851 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.4592, allocations: 10.81 kB / 0.5851 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.4595, allocations: 110.3 kB / 0.5852 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.4597, allocations: 0.6759 MB / 0.5858 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.4597, allocations: 1.578 kB / 0.5858 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.4597, allocations: 8.719 kB / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4597, allocations: 1.062 kB / 0.5859 GB, free: 15.7 MB / 446.1 MB Notification: Performance of Templates: time 0.003217/0.463, allocations: 0.6477 MB / 0.5865 GB, free: 15.63 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)