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.005161/0.005161, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001302/0.001302, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 55.91 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4764, allocations: 80.91 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002305/0.4788, allocations: 1.429 MB / 0.666 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004977/0.4793, allocations: 253.9 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.4793, allocations: 1.625 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.4793, allocations: 3.984 kB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.549e-05/0.4794, allocations: 11.88 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.4798, allocations: 58.83 kB / 0.6663 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.4799, allocations: 24.17 kB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.48, allocations: 7.734 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.48, allocations: 7.031 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.4801, allocations: 14.89 kB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4801, allocations: 1.562 kB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.4802, allocations: 57.5 kB / 0.6665 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.4802, allocations: 4 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.4803, allocations: 14.47 kB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.4804, allocations: 60.28 kB / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4804, allocations: 0 / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4804, allocations: 0 / 0.6665 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4804, allocations: 1.312 kB / 0.6665 GB, free: 6.102 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.0003957/0.4808, allocations: 346.2 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4809, allocations: 9.562 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.4809, allocations: 6.344 kB / 0.6669 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.438e-05/0.481, allocations: 161.6 kB / 0.667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.481, allocations: 6 kB / 0.667 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4811, allocations: 1.969 kB / 0.667 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4812, allocations: 48.7 kB / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4812, allocations: 192 / 0.6671 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4813, allocations: 5.281 kB / 0.6671 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4813, allocations: 0 / 0.6671 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.4815, allocations: 42.94 kB / 0.6671 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.4818, allocations: 247.9 kB / 0.6674 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4819, allocations: 43.94 kB / 0.6674 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.482, allocations: 17.78 kB / 0.6674 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/0.4826, allocations: 463.8 kB / 0.6679 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.4826, allocations: 34.5 kB / 0.6679 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4826, allocations: 1.25 kB / 0.6679 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003486/0.483, allocations: 84.14 kB / 0.668 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.483, allocations: 55.44 kB / 0.668 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.458e-05/0.483, allocations: 95.11 kB / 0.6681 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.4831, allocations: 31.06 kB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.4831, allocations: 88.12 kB / 0.6682 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.4831, allocations: 5.438 kB / 0.6682 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.4831, allocations: 12.16 kB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.4832, allocations: 316 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.4833, allocations: 21.62 kB / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.4834, allocations: 20.64 kB / 0.6686 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.4835, allocations: 39.77 kB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.4835, allocations: 0 / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.4837, allocations: 76.66 kB / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4837, allocations: 7.844 kB / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4837, allocations: 0 / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4838, allocations: 4 kB / 0.6687 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.4838, allocations: 9.609 kB / 0.6687 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4839, allocations: 1.188 kB / 0.6687 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.4839, allocations: 3.906 kB / 0.6687 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.4839, allocations: 0 / 0.6687 GB, free: 3.781 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 5.172e-05/0.484, allocations: 124.2 kB / 0.6689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.484, allocations: 1.406 kB / 0.6689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.4842, allocations: 69.88 kB / 0.6689 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4842, allocations: 1.344 kB / 0.6689 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4842, allocations: 0 / 0.6689 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4842, allocations: 0 / 0.6689 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.4844, allocations: 158.5 kB / 0.6691 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4844, allocations: 3.984 kB / 0.6691 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.4844, allocations: 9.938 kB / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4844, allocations: 1.344 kB / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.4844, allocations: 0 / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4844, allocations: 0 / 0.6691 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4845, allocations: 5.453 kB / 0.6691 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4847, allocations: 166.4 kB / 0.6693 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.4847, allocations: 88.17 kB / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.4847, allocations: 0 / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.4848, allocations: 3.844 kB / 0.6693 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.4848, allocations: 9.391 kB / 0.6694 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4848, allocations: 1.156 kB / 0.6694 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.021e-05/0.4849, allocations: 78.03 kB / 0.6694 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4849, allocations: 3.938 kB / 0.6694 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002337/0.4851, allocations: 18.47 kB / 0.6694 GB, free: 3.035 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.0001917/0.4853, allocations: 120.5 kB / 0.6696 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4855, allocations: 32.88 kB / 0.6696 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4855, allocations: 3.938 kB / 0.6696 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.4856, allocations: 31.81 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4859, allocations: 5.125 kB / 0.6696 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.4861, allocations: 108.5 kB / 0.6697 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.4862, allocations: 0.6719 MB / 0.6704 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.4862, allocations: 5.453 kB / 0.6704 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.4863, allocations: 12.53 kB / 0.6704 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4863, allocations: 0 / 0.6704 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.002709/0.489, allocations: 0.6587 MB / 0.6711 GB, free: 1.734 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)