Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 107.1 kB / 16.41 MB, free: 6.449 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.001217/0.001217, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.231/1.231, 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-master/package.mo): time 0.7535/0.7535, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 65.75 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001691/0.1325, allocations: 0.5682 MB / 0.6659 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.133, allocations: 194.2 kB / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/0.133, allocations: 0 / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.133, allocations: 0 / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.133, allocations: 0 / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1334, allocations: 63.73 kB / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.35e-05/0.1334, allocations: 0 / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.1335, allocations: 0 / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.1335, allocations: 3.984 kB / 0.6662 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.864e-05/0.1335, allocations: 4 kB / 0.6662 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-06/0.1335, allocations: 0 / 0.6662 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1337, allocations: 55.94 kB / 0.6662 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-06/0.1337, allocations: 3.938 kB / 0.6662 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.1337, allocations: 0 / 0.6662 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1338, allocations: 31.89 kB / 0.6662 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1338, allocations: 0 / 0.6662 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1338, allocations: 8 kB / 0.6662 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1338, allocations: 0 / 0.6662 GB, free: 4.863 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.000297/0.1341, allocations: 319.6 kB / 0.6666 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1342, allocations: 9.109 kB / 0.6666 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.1342, allocations: 0.9375 kB / 0.6666 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.1343, allocations: 164.4 kB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1343, allocations: 384 / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1343, allocations: 4.359 kB / 0.6667 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.1344, allocations: 30.27 kB / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1344, allocations: 192 / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1345, allocations: 3.938 kB / 0.6668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1345, allocations: 7.938 kB / 0.6668 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.1345, allocations: 3.938 kB / 0.6668 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.1346, allocations: 145.7 kB / 0.6669 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.1347, allocations: 18.61 kB / 0.6669 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.1347, allocations: 4.859 kB / 0.6669 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.1354, allocations: 461.5 kB / 0.6674 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1354, allocations: 34.56 kB / 0.6674 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1354, allocations: 0 / 0.6674 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.1355, allocations: 41.56 kB / 0.6674 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1356, allocations: 55.53 kB / 0.6675 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.1356, allocations: 89.86 kB / 0.6676 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1356, allocations: 25.7 kB / 0.6676 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.1357, allocations: 80.14 kB / 0.6677 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1357, allocations: 4 kB / 0.6677 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.1357, allocations: 9.719 kB / 0.6677 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.1358, allocations: 314.8 kB / 0.668 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.1358, allocations: 0 / 0.668 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-06/0.1359, allocations: 8 kB / 0.668 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.1359, allocations: 4.859 kB / 0.668 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1359, allocations: 0 / 0.668 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.384e-05/0.1359, allocations: 41.62 kB / 0.668 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.136, allocations: 4 kB / 0.6681 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.136, allocations: 3.938 kB / 0.6681 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.136, allocations: 3.938 kB / 0.6681 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.136, allocations: 4 kB / 0.6681 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.136, allocations: 0 / 0.6681 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.1361, allocations: 4.094 kB / 0.6681 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1361, allocations: 0 / 0.6681 GB, free: 2.684 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 6.526e-05/0.1361, allocations: 109.8 kB / 0.6682 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.1362, allocations: 4 kB / 0.6682 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.1362, allocations: 44.69 kB / 0.6682 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1362, allocations: 0 / 0.6682 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1362, allocations: 0 / 0.6682 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1362, allocations: 0 / 0.6682 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.503e-05/0.1363, allocations: 145.7 kB / 0.6684 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1363, allocations: 8.031 kB / 0.6684 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.1364, allocations: 4 kB / 0.6684 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1364, allocations: 0 / 0.6684 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1364, allocations: 3.938 kB / 0.6684 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1364, allocations: 0 / 0.6684 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1364, allocations: 0 / 0.6684 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.703e-05/0.1364, allocations: 57.14 kB / 0.6684 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.1365, allocations: 89.06 kB / 0.6685 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.1365, allocations: 3.938 kB / 0.6685 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-06/0.1365, allocations: 0 / 0.6685 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.1365, allocations: 3.938 kB / 0.6685 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.1365, allocations: 0 / 0.6685 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.1366, allocations: 75.28 kB / 0.6686 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1366, allocations: 4 kB / 0.6686 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001963/0.1368, allocations: 12 kB / 0.6686 GB, free: 2.023 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.0001881/0.137, allocations: 132.5 kB / 0.6687 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.261e-05/0.137, allocations: 4 kB / 0.6687 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.137, allocations: 0 / 0.6687 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.1371, allocations: 0 / 0.6687 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1372, allocations: 3.516 kB / 0.6687 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.1374, allocations: 122.7 kB / 0.6689 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1376, allocations: 0.6729 MB / 0.6695 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.1377, allocations: 15.31 kB / 0.6695 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1377, allocations: 0 / 0.6695 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.001704/0.1394, allocations: 0.5464 MB / 0.6701 GB, free: 476 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)