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.0008607/0.0008605, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008874/0.0008875, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6591/0.6591, allocations: 132.4 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3259, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005311/0.3264, allocations: 315 kB / 0.5834 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003507/0.3268, allocations: 184 kB / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-06/0.3268, allocations: 1.094 kB / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.305e-06/0.3268, allocations: 0 / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.3268, allocations: 0 / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3271, allocations: 47.75 kB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.767e-05/0.3272, allocations: 1.031 kB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.3272, allocations: 1.547 kB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.129e-05/0.3272, allocations: 0.5312 kB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.88e-05/0.3272, allocations: 0.6875 kB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.3273, allocations: 0.7188 kB / 0.5836 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3274, allocations: 67.05 kB / 0.5837 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-06/0.3274, allocations: 0 / 0.5837 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.3275, allocations: 26.89 kB / 0.5837 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.3275, allocations: 20.12 kB / 0.5837 GB, free: 3.578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3275, allocations: 4.844 kB / 0.5837 GB, free: 3.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3275, allocations: 0 / 0.5837 GB, free: 3.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.135e-06/0.3275, allocations: 0.9062 kB / 0.5837 GB, free: 3.574 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001796/0.3277, allocations: 318.2 kB / 0.584 GB, free: 3.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3278, allocations: 10.06 kB / 0.584 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.3278, allocations: 4 kB / 0.584 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.586e-05/0.3278, allocations: 164.5 kB / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3279, allocations: 0.7969 kB / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.3279, allocations: 0.7812 kB / 0.5842 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.946e-05/0.328, allocations: 36.69 kB / 0.5842 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.328, allocations: 0 / 0.5842 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.328, allocations: 0 / 0.5842 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.328, allocations: 1.031 kB / 0.5842 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.328, allocations: 1.25 kB / 0.5842 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.18e-05/0.3281, allocations: 149 kB / 0.5844 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.83e-05/0.3281, allocations: 20.23 kB / 0.5844 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.3281, allocations: 10.62 kB / 0.5844 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.3287, allocations: 459.1 kB / 0.5848 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.3287, allocations: 35.47 kB / 0.5849 GB, free: 2.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.3287, allocations: 0.8125 kB / 0.5849 GB, free: 2.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.3289, allocations: 39.48 kB / 0.5849 GB, free: 2.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.3289, allocations: 52.38 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.387e-05/0.3289, allocations: 90.42 kB / 0.5851 GB, free: 2.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.3289, allocations: 26.73 kB / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-06/0.3289, allocations: 86.53 kB / 0.5852 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3289, allocations: 5.625 kB / 0.5852 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/0.329, allocations: 0 / 0.5852 GB, free: 1.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.265e-05/0.329, allocations: 315.5 kB / 0.5855 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.329, allocations: 5.125 kB / 0.5855 GB, free: 1.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.329, allocations: 6.312 kB / 0.5855 GB, free: 1.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.325e-05/0.329, allocations: 2.078 kB / 0.5855 GB, free: 1.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.329, allocations: 3.938 kB / 0.5855 GB, free: 1.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.034e-05/0.3291, allocations: 36.14 kB / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3291, allocations: 4.312 kB / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3291, allocations: 1.641 kB / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3291, allocations: 0 / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.3292, allocations: 2.594 kB / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3292, allocations: 4.094 kB / 0.5855 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.3292, allocations: 1.031 kB / 0.5855 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3292, allocations: 4.5 kB / 0.5855 GB, free: 1.543 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.3292, allocations: 111.7 kB / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.3292, allocations: 5.578 kB / 0.5857 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.3293, allocations: 46.19 kB / 0.5857 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3293, allocations: 2.094 kB / 0.5857 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3293, allocations: 0 / 0.5857 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3293, allocations: 32 / 0.5857 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.429e-05/0.3294, allocations: 152.5 kB / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3294, allocations: 0.6562 kB / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.3294, allocations: 3 kB / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3294, allocations: 0.7969 kB / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.3294, allocations: 0 / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3294, allocations: 0.9375 kB / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3294, allocations: 0 / 0.5858 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.407e-05/0.3295, allocations: 62.66 kB / 0.5859 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.3295, allocations: 81.06 kB / 0.586 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.3295, allocations: 0.7031 kB / 0.586 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.3295, allocations: 4.938 kB / 0.586 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.3295, allocations: 1.938 kB / 0.586 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.3295, allocations: 0.6094 kB / 0.586 GB, free: 1.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.247e-06/0.3295, allocations: 75.28 kB / 0.5861 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3296, allocations: 0 / 0.5861 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.3297, allocations: 12.53 kB / 0.5861 GB, free: 0.9336 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.3299, allocations: 117.9 kB / 0.5862 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.33, allocations: 4.281 kB / 0.5862 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.33, allocations: 0 / 0.5862 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.33, allocations: 6.844 kB / 0.5862 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.3301, allocations: 1.359 kB / 0.5862 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001202/0.3302, allocations: 81.09 kB / 0.5863 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.3303, allocations: 0.676 MB / 0.5869 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.001e-05/0.3303, allocations: 0.6875 kB / 0.5869 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-06/0.3303, allocations: 8.125 kB / 0.5869 GB, free: 32 kB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3303, allocations: 0 / 0.5869 GB, free: 32 kB / 430.1 MB Notification: Performance of Templates: time 0.00211/0.3325, allocations: 404.1 kB / 0.5873 GB, free: 15.96 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)