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.007125/0.007125, allocations: 100.5 kB / 15.73 MB, free: 6.043 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.001643/0.001643, allocations: 190 kB / 16.67 MB, free: 5.977 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.494/1.494, 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.982/0.982, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.91 kB / 0.5857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.407, allocations: 80.91 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001454/0.4085, allocations: 0.5629 MB / 0.6652 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.4089, allocations: 198 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.4089, allocations: 1.438 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.052e-05/0.409, allocations: 0 / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.409, allocations: 0 / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.4093, allocations: 53.73 kB / 0.6655 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.4094, allocations: 5.5 kB / 0.6655 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.4094, allocations: 1.219 kB / 0.6655 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.525e-05/0.4094, allocations: 3.984 kB / 0.6655 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.4095, allocations: 5.156 kB / 0.6655 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.4095, allocations: 4 kB / 0.6655 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.4096, allocations: 58.25 kB / 0.6656 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-06/0.4096, allocations: 5.188 kB / 0.6656 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.4097, allocations: 0 / 0.6656 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.4098, allocations: 36.09 kB / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4098, allocations: 1.344 kB / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4098, allocations: 0 / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4098, allocations: 0 / 0.6656 GB, free: 6.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002331/0.41, allocations: 333.8 kB / 0.6659 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4101, allocations: 9.625 kB / 0.6659 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.4101, allocations: 4.938 kB / 0.6659 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.006e-05/0.4102, allocations: 163.1 kB / 0.6661 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4102, allocations: 5.516 kB / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.4102, allocations: 384 / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.836e-05/0.4103, allocations: 32.5 kB / 0.6661 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4103, allocations: 4.188 kB / 0.6661 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.4103, allocations: 7.875 kB / 0.6661 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4103, allocations: 1.406 kB / 0.6661 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.4103, allocations: 1.281 kB / 0.6661 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.104e-05/0.4104, allocations: 150.9 kB / 0.6663 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.777e-05/0.4105, allocations: 19.86 kB / 0.6663 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.301e-05/0.4105, allocations: 6.078 kB / 0.6663 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.4111, allocations: 458.5 kB / 0.6667 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.4111, allocations: 35.81 kB / 0.6668 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4111, allocations: 0 / 0.6668 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.4113, allocations: 39.25 kB / 0.6668 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.4113, allocations: 55.34 kB / 0.6669 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.625e-05/0.4113, allocations: 89.86 kB / 0.6669 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.4113, allocations: 29.64 kB / 0.667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.173e-05/0.4114, allocations: 81.52 kB / 0.6671 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4114, allocations: 4 kB / 0.6671 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.4114, allocations: 16.09 kB / 0.6671 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.4115, allocations: 310.8 kB / 0.6674 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.4115, allocations: 1.562 kB / 0.6674 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.4115, allocations: 1.219 kB / 0.6674 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/0.4115, allocations: 7.328 kB / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4115, allocations: 0 / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.071e-05/0.4116, allocations: 42.56 kB / 0.6674 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4116, allocations: 5.062 kB / 0.6674 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4116, allocations: 1.406 kB / 0.6674 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4116, allocations: 3.938 kB / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.4116, allocations: 2 kB / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4116, allocations: 0 / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.4117, allocations: 0 / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.4117, allocations: 1.094 kB / 0.6674 GB, free: 4.828 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 (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 3.414e-05/0.4117, allocations: 111.2 kB / 0.6675 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.4117, allocations: 4.031 kB / 0.6675 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.4118, allocations: 42.12 kB / 0.6676 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4118, allocations: 0 / 0.6676 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4118, allocations: 0 / 0.6676 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.4118, allocations: 1.375 kB / 0.6676 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.016e-05/0.4118, allocations: 145.7 kB / 0.6677 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4118, allocations: 1.375 kB / 0.6677 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.4119, allocations: 5.406 kB / 0.6677 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4119, allocations: 0 / 0.6677 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4119, allocations: 8.812 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4119, allocations: 4.031 kB / 0.6677 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4119, allocations: 1.219 kB / 0.6677 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.585e-05/0.4119, allocations: 58.94 kB / 0.6678 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.412, allocations: 81.11 kB / 0.6679 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.412, allocations: 5.219 kB / 0.6679 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.412, allocations: 0 / 0.6679 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.412, allocations: 1.375 kB / 0.6679 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.412, allocations: 4.031 kB / 0.6679 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.117e-05/0.412, allocations: 83.22 kB / 0.668 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.412, allocations: 0 / 0.668 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001956/0.4122, allocations: 11.72 kB / 0.668 GB, free: 4.195 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 (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.0001812/0.4124, allocations: 122.2 kB / 0.6681 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.948e-05/0.4125, allocations: 11.91 kB / 0.6681 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4125, allocations: 0 / 0.6681 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.4125, allocations: 1.344 kB / 0.6681 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.4126, allocations: 1.344 kB / 0.6681 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/0.4128, allocations: 93.89 kB / 0.6682 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.743e-05/0.4129, allocations: 0.6703 MB / 0.6689 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.16e-05/0.4129, allocations: 1.438 kB / 0.6689 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.413, allocations: 7.438 kB / 0.6689 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.413, allocations: 4.125 kB / 0.6689 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.002232/0.4152, allocations: 413.2 kB / 0.6693 GB, free: 3.059 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)