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.00529/0.00529, allocations: 99.23 kB / 15.73 MB, free: 5.953 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.001205/0.001205, allocations: 198.9 kB / 16.68 MB, free: 5.887 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9592/0.9592, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4451, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00236/0.4475, allocations: 1.426 MB / 0.666 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005106/0.4481, allocations: 253.6 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.4481, allocations: 1.281 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.4482, allocations: 3.938 kB / 0.6663 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.4482, allocations: 4 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.4486, allocations: 67.34 kB / 0.6663 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.552e-05/0.4487, allocations: 24.52 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.4487, allocations: 2.688 kB / 0.6664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.4488, allocations: 11.67 kB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.4488, allocations: 10.34 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.4488, allocations: 2.781 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.449, allocations: 64.33 kB / 0.6665 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-06/0.449, allocations: 4 kB / 0.6665 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.449, allocations: 18.92 kB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.4492, allocations: 52.23 kB / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4492, allocations: 0 / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4492, allocations: 0 / 0.6665 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.4492, allocations: 1.344 kB / 0.6665 GB, free: 6.109 MB / 0.4981 GB 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.00036/0.4496, allocations: 346.1 kB / 0.6669 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4496, allocations: 9.844 kB / 0.6669 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.4496, allocations: 9.984 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.062e-05/0.4497, allocations: 169.6 kB / 0.667 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4497, allocations: 5.812 kB / 0.667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.4498, allocations: 5.5 kB / 0.6671 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4499, allocations: 41.97 kB / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4499, allocations: 4.172 kB / 0.6671 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4499, allocations: 11.94 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.45, allocations: 1.469 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.4501, allocations: 29.78 kB / 0.6671 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.4504, allocations: 248.7 kB / 0.6674 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4505, allocations: 43.97 kB / 0.6674 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.4506, allocations: 17.97 kB / 0.6674 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005671/0.4512, allocations: 463.3 kB / 0.6679 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4512, allocations: 30.56 kB / 0.6679 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4512, allocations: 1.344 kB / 0.6679 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003265/0.4515, allocations: 87.48 kB / 0.668 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.4516, allocations: 52.78 kB / 0.668 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.935e-05/0.4516, allocations: 98.19 kB / 0.6681 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.4516, allocations: 31.11 kB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.4517, allocations: 80.14 kB / 0.6682 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.4517, allocations: 5.406 kB / 0.6682 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.4517, allocations: 16.28 kB / 0.6683 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.14e-05/0.4518, allocations: 315.9 kB / 0.6686 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.4518, allocations: 20.59 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.4519, allocations: 17.48 kB / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4521, allocations: 35.02 kB / 0.6686 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4521, allocations: 1.094 kB / 0.6686 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001685/0.4522, allocations: 80.47 kB / 0.6687 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4523, allocations: 8.062 kB / 0.6687 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4523, allocations: 1.531 kB / 0.6687 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4523, allocations: 0 / 0.6687 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.4524, allocations: 10.17 kB / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4524, allocations: 0 / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.4524, allocations: 7.641 kB / 0.6687 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4524, allocations: 1.375 kB / 0.6687 GB, free: 3.785 MB / 0.4981 GB 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.437e-05/0.4525, allocations: 119.2 kB / 0.6688 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.4525, allocations: 2.188 kB / 0.6689 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.4527, allocations: 69.69 kB / 0.6689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4527, allocations: 0 / 0.6689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4527, allocations: 1.281 kB / 0.6689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4527, allocations: 0 / 0.6689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.4528, allocations: 161.5 kB / 0.6691 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4529, allocations: 1.094 kB / 0.6691 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.4529, allocations: 9.875 kB / 0.6691 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4529, allocations: 0 / 0.6691 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4529, allocations: 9.203 kB / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4529, allocations: 0 / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4529, allocations: 192 / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.4531, allocations: 159.9 kB / 0.6692 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.4532, allocations: 88.36 kB / 0.6693 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.4532, allocations: 4 kB / 0.6693 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.4533, allocations: 4.25 kB / 0.6693 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.4533, allocations: 9.359 kB / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4533, allocations: 0 / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.4533, allocations: 82.09 kB / 0.6694 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4533, allocations: 1.375 kB / 0.6694 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002468/0.4536, allocations: 16.94 kB / 0.6694 GB, free: 3.043 MB / 0.4981 GB 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.0001749/0.4538, allocations: 119.8 kB / 0.6696 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.454, allocations: 37.27 kB / 0.6696 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.454, allocations: 5.594 kB / 0.6696 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.4541, allocations: 18.2 kB / 0.6696 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.4543, allocations: 10.75 kB / 0.6696 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.4546, allocations: 106.5 kB / 0.6697 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4547, allocations: 0.6854 MB / 0.6704 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.4547, allocations: 0 / 0.6704 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.4548, allocations: 13.88 kB / 0.6704 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4548, allocations: 0 / 0.6704 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.002915/0.4577, allocations: 0.6557 MB / 0.671 GB, free: 1.742 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)