Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001098/0.001098, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001046/0.001047, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.791/0.791, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4208, allocations: 80.19 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001761/0.4226, allocations: 0.5765 MB / 0.5821 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.4231, allocations: 197.5 kB / 0.5823 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.154e-05/0.4231, allocations: 0.6562 kB / 0.5823 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.4231, allocations: 0.8125 kB / 0.5823 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.4231, allocations: 1.25 kB / 0.5823 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.4235, allocations: 50.16 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.718e-05/0.4235, allocations: 5.344 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.4236, allocations: 6.484 kB / 0.5823 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.4236, allocations: 3.984 kB / 0.5823 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.016e-05/0.4236, allocations: 1.438 kB / 0.5823 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.4237, allocations: 2.531 kB / 0.5823 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.4238, allocations: 54.64 kB / 0.5824 GB, free: 27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.4238, allocations: 3.938 kB / 0.5824 GB, free: 27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.4239, allocations: 1.344 kB / 0.5824 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.424, allocations: 43.97 kB / 0.5824 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.424, allocations: 0 / 0.5824 GB, free: 26.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.424, allocations: 5.094 kB / 0.5824 GB, free: 26.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.424, allocations: 1.938 kB / 0.5824 GB, free: 26.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002342/0.4243, allocations: 318.4 kB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4243, allocations: 10.47 kB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.4243, allocations: 0.9375 kB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.577e-05/0.4244, allocations: 165.2 kB / 0.5829 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4244, allocations: 1.719 kB / 0.5829 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.4244, allocations: 1.562 kB / 0.5829 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.4245, allocations: 32.58 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.4245, allocations: 2.594 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.4245, allocations: 3.938 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4246, allocations: 1.094 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.4246, allocations: 1.312 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.4247, allocations: 143.1 kB / 0.5831 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.014e-05/0.4247, allocations: 20.61 kB / 0.5831 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.4247, allocations: 20.88 kB / 0.5831 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.4254, allocations: 450.5 kB / 0.5836 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4254, allocations: 36.33 kB / 0.5836 GB, free: 25.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.154e-06/0.4254, allocations: 5.547 kB / 0.5836 GB, free: 25.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.4255, allocations: 46.08 kB / 0.5836 GB, free: 25.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.4256, allocations: 52.59 kB / 0.5837 GB, free: 25.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.925e-05/0.4256, allocations: 91.23 kB / 0.5838 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.4256, allocations: 25.7 kB / 0.5838 GB, free: 25.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.472e-05/0.4256, allocations: 84.36 kB / 0.5839 GB, free: 25.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.4257, allocations: 1.031 kB / 0.5839 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.4257, allocations: 11.22 kB / 0.5839 GB, free: 25.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.4257, allocations: 312.7 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.4257, allocations: 8.359 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.4258, allocations: 1.031 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.4258, allocations: 11.39 kB / 0.5842 GB, free: 24.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4258, allocations: 0 / 0.5842 GB, free: 24.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.362e-05/0.4258, allocations: 35.48 kB / 0.5842 GB, free: 24.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4259, allocations: 8.406 kB / 0.5843 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4259, allocations: 2 kB / 0.5843 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4259, allocations: 3.938 kB / 0.5843 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.586e-05/0.4259, allocations: 2.25 kB / 0.5843 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4259, allocations: 1.438 kB / 0.5843 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-06/0.4259, allocations: 0 / 0.5843 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.426, allocations: 10.48 kB / 0.5843 GB, free: 24.88 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 (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 4.706e-05/0.426, allocations: 107 kB / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.426, allocations: 0 / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.4261, allocations: 41.89 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4261, allocations: 1.625 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4261, allocations: 2.25 kB / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4261, allocations: 0 / 0.5844 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.77e-05/0.4262, allocations: 146.7 kB / 0.5846 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4262, allocations: 5.031 kB / 0.5846 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.4262, allocations: 5.094 kB / 0.5846 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4262, allocations: 1.125 kB / 0.5846 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.4262, allocations: 4.906 kB / 0.5846 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4262, allocations: 0 / 0.5846 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4262, allocations: 1.219 kB / 0.5846 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.831e-05/0.4263, allocations: 60.62 kB / 0.5846 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.4263, allocations: 77.86 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.4263, allocations: 5.031 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-06/0.4263, allocations: 0.8438 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-06/0.4264, allocations: 1.219 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.4264, allocations: 0.5938 kB / 0.5847 GB, free: 24.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.568e-05/0.4264, allocations: 77.59 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4264, allocations: 0 / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.4266, allocations: 14.62 kB / 0.5848 GB, free: 24.28 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 (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.000181/0.4268, allocations: 119.6 kB / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.024e-05/0.4268, allocations: 11.53 kB / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4268, allocations: 1.75 kB / 0.5849 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.4269, allocations: 6.703 kB / 0.5849 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.427, allocations: 5.438 kB / 0.5849 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.4272, allocations: 82.89 kB / 0.585 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.4273, allocations: 0.6743 MB / 0.5857 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.177e-06/0.4273, allocations: 1.594 kB / 0.5857 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-06/0.4273, allocations: 7.438 kB / 0.5857 GB, free: 23.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4273, allocations: 1.25 kB / 0.5857 GB, free: 23.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002334/0.4296, allocations: 411.3 kB / 0.5861 GB, free: 23.18 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)