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.0009761/0.0009761, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00112/0.00112, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7078/0.7078, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 61.31 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1281, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002235/0.1304, allocations: 1.415 MB / 0.6667 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.1309, allocations: 256.3 kB / 0.6669 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.1309, allocations: 0 / 0.6669 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.1309, allocations: 3.938 kB / 0.6669 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.131, allocations: 11.94 kB / 0.6669 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1313, allocations: 63.72 kB / 0.667 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.1314, allocations: 19.92 kB / 0.667 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.1315, allocations: 11.94 kB / 0.667 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.1315, allocations: 7.984 kB / 0.667 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.084e-05/0.1315, allocations: 11.94 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1315, allocations: 0 / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1317, allocations: 63.92 kB / 0.6671 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.1317, allocations: 4 kB / 0.6671 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.1317, allocations: 19.86 kB / 0.6671 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1319, allocations: 51.92 kB / 0.6672 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1319, allocations: 0 / 0.6672 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1319, allocations: 0 / 0.6672 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1319, allocations: 0 / 0.6672 GB, free: 3.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003911/0.1323, allocations: 339.5 kB / 0.6675 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.1323, allocations: 17.05 kB / 0.6675 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.1323, allocations: 4.844 kB / 0.6675 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1324, allocations: 168.4 kB / 0.6677 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1325, allocations: 4.375 kB / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.1325, allocations: 384 / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1326, allocations: 50.23 kB / 0.6677 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1326, allocations: 192 / 0.6677 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1327, allocations: 7.922 kB / 0.6678 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1327, allocations: 3.938 kB / 0.6678 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1328, allocations: 31.97 kB / 0.6678 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.1331, allocations: 249 kB / 0.668 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1332, allocations: 38.5 kB / 0.6681 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.1333, allocations: 20.91 kB / 0.6681 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.1339, allocations: 465.5 kB / 0.6685 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.134, allocations: 38.5 kB / 0.6686 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.134, allocations: 0 / 0.6686 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000315/0.1343, allocations: 77.64 kB / 0.6686 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1343, allocations: 55.53 kB / 0.6687 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.1344, allocations: 101.8 kB / 0.6688 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1344, allocations: 25.7 kB / 0.6688 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.1344, allocations: 84.14 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.1345, allocations: 7.906 kB / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1345, allocations: 9.719 kB / 0.6689 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.1346, allocations: 318.8 kB / 0.6692 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.1347, allocations: 23.98 kB / 0.6692 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.1348, allocations: 15.92 kB / 0.6693 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1349, allocations: 40.77 kB / 0.6693 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1349, allocations: 0 / 0.6693 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.1351, allocations: 81.56 kB / 0.6694 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1351, allocations: 5.875 kB / 0.6694 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1351, allocations: 0 / 0.6694 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1351, allocations: 0 / 0.6694 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.1352, allocations: 11.98 kB / 0.6694 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1352, allocations: 3.984 kB / 0.6694 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.1352, allocations: 7.984 kB / 0.6694 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1353, allocations: 0 / 0.6694 GB, free: 1.219 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.1353, allocations: 113.7 kB / 0.6695 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1354, allocations: 11.97 kB / 0.6695 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.1356, allocations: 72.72 kB / 0.6696 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1356, allocations: 0 / 0.6696 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1356, allocations: 0 / 0.6696 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1356, allocations: 0 / 0.6696 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.1357, allocations: 165.6 kB / 0.6697 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1357, allocations: 0 / 0.6697 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.1358, allocations: 7.984 kB / 0.6698 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1358, allocations: 4.031 kB / 0.6698 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1358, allocations: 0 / 0.6698 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1358, allocations: 4 kB / 0.6698 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1358, allocations: 0 / 0.6698 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.136, allocations: 167.4 kB / 0.6699 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.1361, allocations: 81.02 kB / 0.67 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.1361, allocations: 4.031 kB / 0.67 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.1362, allocations: 7.984 kB / 0.67 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.1362, allocations: 0 / 0.67 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1362, allocations: 0 / 0.67 GB, free: 500 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.1362, allocations: 83.28 kB / 0.6701 GB, free: 416 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1363, allocations: 0 / 0.6701 GB, free: 416 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002289/0.1365, allocations: 16 kB / 0.6701 GB, free: 400 kB / 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.0001508/0.1366, allocations: 120.9 kB / 0.6702 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1368, allocations: 35.95 kB / 0.6703 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1369, allocations: 0 / 0.6703 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.1369, allocations: 23.92 kB / 0.6703 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1371, allocations: 12.06 kB / 0.6703 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.1374, allocations: 135.2 kB / 0.6704 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1376, allocations: 0.6768 MB / 0.6711 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.1376, allocations: 11.44 kB / 0.6711 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1376, allocations: 3.938 kB / 0.6711 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.001835/0.1395, allocations: 0.7741 MB / 0.6718 GB, free: 14.54 MB / 0.5137 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)