Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001013/0.001013, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.285/1.285, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9023/0.9023, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12 kB / 0.5083 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 82.31 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007161/0.1634, allocations: 303.1 kB / 0.5889 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000481/0.1639, allocations: 195.5 kB / 0.5891 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.1639, allocations: 4 kB / 0.5891 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1639, allocations: 3.938 kB / 0.5891 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.164, allocations: 0 / 0.5891 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1643, allocations: 43.91 kB / 0.5892 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.1643, allocations: 3.984 kB / 0.5892 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1644, allocations: 0 / 0.5892 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.1644, allocations: 3.984 kB / 0.5892 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.1644, allocations: 4 kB / 0.5892 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.1644, allocations: 3.938 kB / 0.5892 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1646, allocations: 59.89 kB / 0.5892 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-06/0.1646, allocations: 0 / 0.5892 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1646, allocations: 29.69 kB / 0.5893 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.1647, allocations: 27.89 kB / 0.5893 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.1648, allocations: 8 kB / 0.5893 GB, free: 1.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1648, allocations: 0 / 0.5893 GB, free: 1.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.1648, allocations: 0 / 0.5893 GB, free: 1.949 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002542/0.165, allocations: 315.6 kB / 0.5896 GB, free: 1.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1651, allocations: 8.031 kB / 0.5896 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.1651, allocations: 0.9375 kB / 0.5896 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/0.1652, allocations: 164.4 kB / 0.5898 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1652, allocations: 4.375 kB / 0.5898 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.1652, allocations: 4.375 kB / 0.5898 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.1653, allocations: 30.27 kB / 0.5898 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1653, allocations: 4.125 kB / 0.5898 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1653, allocations: 3.938 kB / 0.5898 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1654, allocations: 0 / 0.5898 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.1654, allocations: 4 kB / 0.5898 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.1655, allocations: 145.6 kB / 0.5899 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.1656, allocations: 22.56 kB / 0.59 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1656, allocations: 10.61 kB / 0.59 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.1663, allocations: 453.5 kB / 0.5904 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1664, allocations: 38.55 kB / 0.5904 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1664, allocations: 0 / 0.5904 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.1665, allocations: 45.58 kB / 0.5905 GB, free: 472 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1665, allocations: 51.41 kB / 0.5905 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.061e-05/0.1666, allocations: 89.86 kB / 0.5906 GB, free: 308 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1666, allocations: 25.7 kB / 0.5906 GB, free: 276 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.1666, allocations: 80.14 kB / 0.5907 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1667, allocations: 3.906 kB / 0.5907 GB, free: 188 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.1667, allocations: 9.719 kB / 0.5907 GB, free: 172 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1668, allocations: 314.8 kB / 0.591 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.1668, allocations: 128 / 0.591 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.1668, allocations: 7.984 kB / 0.591 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.1669, allocations: 12.86 kB / 0.5911 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1669, allocations: 0 / 0.5911 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.819e-05/0.1669, allocations: 33.64 kB / 0.5911 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.167, allocations: 4 kB / 0.5911 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.167, allocations: 4 kB / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.167, allocations: 3.938 kB / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.167, allocations: 0 / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.167, allocations: 4.031 kB / 0.5911 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.167, allocations: 4 kB / 0.5911 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1671, allocations: 0 / 0.5911 GB, free: 15.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 (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.035e-05/0.1671, allocations: 113.8 kB / 0.5912 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.1671, allocations: 4 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.955e-05/0.1672, allocations: 40.77 kB / 0.5913 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1672, allocations: 0 / 0.5913 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.1672, allocations: 0 / 0.5913 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1673, allocations: 3.938 kB / 0.5913 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.85e-05/0.1673, allocations: 157.6 kB / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1673, allocations: 0 / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.1674, allocations: 0 / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1674, allocations: 0 / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1674, allocations: 3.938 kB / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1674, allocations: 0 / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1674, allocations: 4 kB / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.1675, allocations: 57.12 kB / 0.5915 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.1675, allocations: 85.12 kB / 0.5916 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.1675, allocations: 3.938 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.1675, allocations: 0 / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-06/0.1675, allocations: 4 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1675, allocations: 0 / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.374e-05/0.1676, allocations: 75.28 kB / 0.5916 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1676, allocations: 0 / 0.5916 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002/0.1678, allocations: 12 kB / 0.5916 GB, free: 15.11 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.0001992/0.168, allocations: 123.2 kB / 0.5918 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.1681, allocations: 8 kB / 0.5918 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1681, allocations: 0 / 0.5918 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.1681, allocations: 0 / 0.5918 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1682, allocations: 14.94 kB / 0.5918 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001713/0.1684, allocations: 100.6 kB / 0.5919 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1686, allocations: 0.6692 MB / 0.5925 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.331e-05/0.1686, allocations: 11.44 kB / 0.5925 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.1687, allocations: 0 / 0.5925 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.001687/0.1703, allocations: 0.5502 MB / 0.5931 GB, free: 13.58 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)