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.001275/0.001275, allocations: 87.11 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.001789/0.001788, 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.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9524/0.9524, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 16 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 82.31 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002674/0.2199, allocations: 1.14 MB / 0.5885 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007933/0.2208, allocations: 234 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.2208, allocations: 4 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.2209, allocations: 3.938 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.2209, allocations: 3.984 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.2214, allocations: 47.89 kB / 0.5888 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.2215, allocations: 27.86 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.2216, allocations: 0 / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.2217, allocations: 4 kB / 0.5888 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.2218, allocations: 15.92 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2218, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.2221, allocations: 71.86 kB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.2221, allocations: 0 / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.2221, allocations: 29.7 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2223, allocations: 35.88 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2223, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2223, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2223, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB 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.0008013/0.2231, allocations: 355.5 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2232, allocations: 8.031 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.2233, allocations: 0 / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.2235, allocations: 175 kB / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2235, allocations: 0 / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.2235, allocations: 0 / 0.5895 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2238, allocations: 53.67 kB / 0.5895 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2238, allocations: 4 kB / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2239, allocations: 0 / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2239, allocations: 0 / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.2242, allocations: 47.95 kB / 0.5896 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.2249, allocations: 248.9 kB / 0.5898 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2251, allocations: 42.5 kB / 0.5898 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.2252, allocations: 32.89 kB / 0.5899 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009867/0.2262, allocations: 457.5 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.2263, allocations: 30.56 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.2263, allocations: 0 / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006642/0.2269, allocations: 109.5 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.227, allocations: 51.41 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2271, allocations: 97.86 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2272, allocations: 29.83 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2272, allocations: 80.14 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2273, allocations: 19.83 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.2273, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2275, allocations: 314.8 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.2276, allocations: 19.98 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2278, allocations: 23.98 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.228, allocations: 19.98 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.228, allocations: 0 / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003576/0.2283, allocations: 81.72 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2284, allocations: 4 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2284, allocations: 3.938 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2284, allocations: 0 / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2286, allocations: 11.98 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.2286, allocations: 4 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.159e-05/0.2287, allocations: 12.02 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2287, allocations: 0 / 0.5912 GB, free: 14.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.2288, allocations: 113.8 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.2289, allocations: 3.938 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.2293, allocations: 84.78 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2293, allocations: 0 / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2293, allocations: 0 / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2293, allocations: 0 / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.2296, allocations: 161.6 kB / 0.5915 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2296, allocations: 4 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.2297, allocations: 15.92 kB / 0.5915 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2297, allocations: 4.188 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2297, allocations: 4.031 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2298, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2298, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.2302, allocations: 183.4 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.2303, allocations: 85.05 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2303, allocations: 0 / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2305, allocations: 7.984 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.2305, allocations: 4 kB / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.2305, allocations: 0 / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.783e-05/0.2306, allocations: 83.28 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.725e-06/0.2306, allocations: 0 / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004712/0.2311, allocations: 23.97 kB / 0.5919 GB, free: 13.91 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 (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.0003344/0.2315, allocations: 111.2 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.2319, allocations: 55.89 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.232, allocations: 0 / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2321, allocations: 23.98 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2325, allocations: 3.953 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.2329, allocations: 112.8 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.2333, allocations: 0.677 MB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.2334, allocations: 0 / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.2334, allocations: 7.438 kB / 0.5929 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.2334, allocations: 0 / 0.5929 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.00447/0.2379, allocations: 0.5863 MB / 0.5935 GB, free: 12.28 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)