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.001353/0.001357, allocations: 107.1 kB / 16.41 MB, free: 6.453 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.001322/0.001322, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7813/0.7813, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.31 kB / 0.5863 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1607, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001959/0.1627, allocations: 0.5629 MB / 0.6659 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005281/0.1632, allocations: 210.2 kB / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.1632, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1633, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.1633, allocations: 0 / 0.6661 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1638, allocations: 62.59 kB / 0.6661 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.1638, allocations: 4 kB / 0.6662 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1639, allocations: 0 / 0.6662 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.1639, allocations: 0 / 0.6662 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.1639, allocations: 0 / 0.6662 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1639, allocations: 0 / 0.6662 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.1641, allocations: 67.88 kB / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.1642, allocations: 3.984 kB / 0.6662 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1642, allocations: 0 / 0.6662 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1643, allocations: 39.89 kB / 0.6663 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1643, allocations: 4 kB / 0.6663 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1643, allocations: 0 / 0.6663 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1643, allocations: 0 / 0.6663 GB, free: 4.809 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.0003285/0.1647, allocations: 311.6 kB / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1647, allocations: 13.09 kB / 0.6666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1648, allocations: 12.88 kB / 0.6666 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1649, allocations: 164.4 kB / 0.6667 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1649, allocations: 384 / 0.6667 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1649, allocations: 384 / 0.6667 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.165, allocations: 26.27 kB / 0.6668 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.165, allocations: 192 / 0.6668 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.165, allocations: 11.94 kB / 0.6668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1651, allocations: 0 / 0.6668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.1651, allocations: 0 / 0.6668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1652, allocations: 149.7 kB / 0.6669 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.1653, allocations: 22.55 kB / 0.6669 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.1653, allocations: 8.797 kB / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008178/0.1661, allocations: 461.5 kB / 0.6674 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1662, allocations: 38.56 kB / 0.6674 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1662, allocations: 0 / 0.6674 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.1663, allocations: 33.64 kB / 0.6675 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1664, allocations: 59.34 kB / 0.6675 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.1664, allocations: 89.86 kB / 0.6676 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1664, allocations: 25.7 kB / 0.6676 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1665, allocations: 80.14 kB / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1665, allocations: 128 / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.1665, allocations: 21.7 kB / 0.6677 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1667, allocations: 310.8 kB / 0.668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.1667, allocations: 0 / 0.668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.1667, allocations: 4 kB / 0.668 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.1667, allocations: 8.859 kB / 0.668 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1667, allocations: 0 / 0.668 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.639e-05/0.1668, allocations: 41.62 kB / 0.6681 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1668, allocations: 8.094 kB / 0.6681 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1668, allocations: 7.922 kB / 0.6681 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1668, allocations: 3.938 kB / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.138e-05/0.1669, allocations: 0 / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1669, allocations: 4 kB / 0.6681 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.1669, allocations: 0 / 0.6681 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1669, allocations: 0 / 0.6681 GB, free: 2.613 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 7.41e-05/0.167, allocations: 105.8 kB / 0.6682 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.167, allocations: 0 / 0.6682 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.1671, allocations: 48.75 kB / 0.6682 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1671, allocations: 4 kB / 0.6682 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1671, allocations: 0 / 0.6682 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1671, allocations: 0 / 0.6682 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.1672, allocations: 141.7 kB / 0.6684 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1672, allocations: 0 / 0.6684 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.1673, allocations: 4 kB / 0.6684 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1673, allocations: 0 / 0.6684 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1673, allocations: 7.875 kB / 0.6684 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1673, allocations: 7.984 kB / 0.6684 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1673, allocations: 4.031 kB / 0.6684 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.259e-05/0.1674, allocations: 53.14 kB / 0.6685 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1674, allocations: 81.11 kB / 0.6685 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.1674, allocations: 3.938 kB / 0.6685 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.1674, allocations: 0 / 0.6685 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1675, allocations: 3.984 kB / 0.6685 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.1675, allocations: 3.938 kB / 0.6685 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.1675, allocations: 79.31 kB / 0.6686 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1675, allocations: 0 / 0.6686 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.1677, allocations: 12 kB / 0.6686 GB, free: 1.957 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.0002178/0.168, allocations: 124.5 kB / 0.6687 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.748e-05/0.168, allocations: 3.938 kB / 0.6688 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.168, allocations: 4.062 kB / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.1681, allocations: 8 kB / 0.6688 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1682, allocations: 1.719 kB / 0.6688 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.1684, allocations: 110.5 kB / 0.6689 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1687, allocations: 0.6729 MB / 0.6695 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.1687, allocations: 7.438 kB / 0.6695 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1687, allocations: 0 / 0.6695 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of Templates: time 0.00194/0.1707, allocations: 0.5582 MB / 0.6701 GB, free: 412 kB / 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)