Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001656/0.001656, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9603/0.9603, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.47 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1531, allocations: 80.93 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002677/0.1558, allocations: 1.478 MB / 0.5852 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.1563, allocations: 252.1 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.1564, allocations: 0 / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.1564, allocations: 4 kB / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.1565, allocations: 4 kB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1568, allocations: 51.88 kB / 0.5855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.1568, allocations: 15.94 kB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.1569, allocations: 7.984 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.157, allocations: 7.938 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.157, allocations: 11.92 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.157, allocations: 4 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1572, allocations: 63.89 kB / 0.5856 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.1572, allocations: 11.92 kB / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1572, allocations: 7.984 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1573, allocations: 51.88 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1574, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1574, allocations: 3.938 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1574, allocations: 0 / 0.5856 GB, free: 3.039 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.0004078/0.1578, allocations: 347.7 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1578, allocations: 8.031 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.1579, allocations: 8.938 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.158, allocations: 160.4 kB / 0.5861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.158, allocations: 384 / 0.5861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.158, allocations: 4.375 kB / 0.5861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1582, allocations: 46.23 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1582, allocations: 4.188 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1582, allocations: 7.938 kB / 0.5862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1582, allocations: 0 / 0.5862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1584, allocations: 35.95 kB / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.1587, allocations: 252.8 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1588, allocations: 46.48 kB / 0.5865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.1589, allocations: 24.89 kB / 0.5865 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/0.1596, allocations: 457.4 kB / 0.587 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1596, allocations: 30.56 kB / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1596, allocations: 0 / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.1599, allocations: 89.58 kB / 0.5871 GB, free: 1.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.16, allocations: 51.41 kB / 0.5871 GB, free: 1.223 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.1601, allocations: 101.8 kB / 0.5872 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1601, allocations: 25.7 kB / 0.5873 GB, free: 1.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.1601, allocations: 80.14 kB / 0.5873 GB, free: 1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1601, allocations: 7.906 kB / 0.5873 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1602, allocations: 13.72 kB / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1603, allocations: 319 kB / 0.5877 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.1604, allocations: 19.98 kB / 0.5877 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.1604, allocations: 11.98 kB / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1606, allocations: 36.83 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1606, allocations: 0 / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.1608, allocations: 77.59 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1608, allocations: 6.344 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1608, allocations: 0 / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1608, allocations: 0 / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.1609, allocations: 19.92 kB / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1609, allocations: 0 / 0.5878 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.161, allocations: 7.984 kB / 0.5878 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.161, allocations: 4.031 kB / 0.5878 GB, free: 476 kB / 494.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 (2): * Single equations (assignments): 2 * 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.201e-05/0.1611, allocations: 109.8 kB / 0.5879 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1611, allocations: 4 kB / 0.5879 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1613, allocations: 72.72 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1613, allocations: 0 / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1614, allocations: 0 / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1614, allocations: 0 / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1615, allocations: 169.5 kB / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1615, allocations: 0 / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.1616, allocations: 11.98 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1616, allocations: 0 / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.1616, allocations: 0 / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1616, allocations: 0 / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1616, allocations: 0 / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1619, allocations: 171.4 kB / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1619, allocations: 88.98 kB / 0.5884 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.162, allocations: 4 kB / 0.5884 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.162, allocations: 7.984 kB / 0.5884 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1621, allocations: 0 / 0.5884 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1621, allocations: 0 / 0.5884 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.1621, allocations: 79.28 kB / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000242/0.1624, allocations: 20 kB / 0.5885 GB, free: 15.64 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 (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.0002193/0.1626, allocations: 115.3 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1629, allocations: 39.95 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1629, allocations: 0 / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.163, allocations: 20.05 kB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1632, allocations: 7.938 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.1635, allocations: 111.2 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1638, allocations: 0.677 MB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.1638, allocations: 0 / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.1638, allocations: 15.5 kB / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1638, allocations: 0 / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.002872/0.1667, allocations: 0.5921 MB / 0.5901 GB, free: 14.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)