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.001229/0.001229, allocations: 112.3 kB / 16.37 MB, free: 6.344 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.001812/0.001812, allocations: 187.3 kB / 17.3 MB, free: 5.898 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.187/1.187, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7178/0.7178, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 67.95 kB / 0.5862 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1225, allocations: 80.92 MB / 0.6652 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002176/0.1247, allocations: 1.419 MB / 0.6666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004429/0.1252, allocations: 248.4 kB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.1252, allocations: 0 / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1253, allocations: 0 / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.1253, allocations: 7.875 kB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1256, allocations: 71.7 kB / 0.6669 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.922e-05/0.1257, allocations: 19.94 kB / 0.667 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.1258, allocations: 7.984 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.1258, allocations: 11.94 kB / 0.667 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.1258, allocations: 7.984 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1258, allocations: 4 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.126, allocations: 55.94 kB / 0.667 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.126, allocations: 11.92 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.126, allocations: 7.938 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1261, allocations: 47.86 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1262, allocations: 4 kB / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1262, allocations: 4 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1262, allocations: 0 / 0.6671 GB, free: 3.898 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.0004229/0.1266, allocations: 343.5 kB / 0.6674 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1266, allocations: 9.109 kB / 0.6675 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1267, allocations: 8.844 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1268, allocations: 168.4 kB / 0.6676 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1268, allocations: 384 / 0.6676 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1268, allocations: 4.312 kB / 0.6676 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.127, allocations: 54.23 kB / 0.6677 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.127, allocations: 192 / 0.6677 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.127, allocations: 3.938 kB / 0.6677 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.127, allocations: 0 / 0.6677 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1272, allocations: 35.91 kB / 0.6677 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.1275, allocations: 253 kB / 0.668 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1276, allocations: 34.5 kB / 0.668 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.1277, allocations: 24.91 kB / 0.668 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005532/0.1282, allocations: 457.5 kB / 0.6685 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1283, allocations: 30.56 kB / 0.6685 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1283, allocations: 3.938 kB / 0.6685 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003147/0.1286, allocations: 77.64 kB / 0.6686 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1286, allocations: 55.41 kB / 0.6686 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.1287, allocations: 102 kB / 0.6687 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1287, allocations: 25.7 kB / 0.6687 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1287, allocations: 88.12 kB / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.1288, allocations: 3.906 kB / 0.6688 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.1288, allocations: 13.72 kB / 0.6688 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.1289, allocations: 314.8 kB / 0.6691 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.129, allocations: 11.98 kB / 0.6691 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.129, allocations: 27.97 kB / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1292, allocations: 36.77 kB / 0.6692 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1292, allocations: 3.938 kB / 0.6692 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001767/0.1294, allocations: 73.5 kB / 0.6693 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1294, allocations: 5.719 kB / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1294, allocations: 8.094 kB / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1294, allocations: 192 / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.1295, allocations: 7.984 kB / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1295, allocations: 0 / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.1295, allocations: 4 kB / 0.6693 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1296, allocations: 0 / 0.6693 GB, free: 1.34 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.015e-05/0.1296, allocations: 117.8 kB / 0.6694 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.1296, allocations: 7.984 kB / 0.6694 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.1299, allocations: 80.66 kB / 0.6695 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1299, allocations: 0 / 0.6695 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1299, allocations: 3.938 kB / 0.6695 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1299, allocations: 0 / 0.6695 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.13, allocations: 157.6 kB / 0.6697 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.13, allocations: 0 / 0.6697 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.1301, allocations: 11.98 kB / 0.6697 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1301, allocations: 0 / 0.6697 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.1301, allocations: 4.031 kB / 0.6697 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1301, allocations: 4 kB / 0.6697 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1301, allocations: 0 / 0.6697 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1303, allocations: 167.4 kB / 0.6698 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.1304, allocations: 81.02 kB / 0.6699 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.1304, allocations: 3.984 kB / 0.6699 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.1304, allocations: 8.031 kB / 0.6699 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.1305, allocations: 7.984 kB / 0.6699 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1305, allocations: 0 / 0.6699 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.1305, allocations: 83.28 kB / 0.67 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1305, allocations: 0 / 0.67 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002179/0.1308, allocations: 16 kB / 0.67 GB, free: 0.4961 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.0001643/0.1309, allocations: 116.6 kB / 0.6701 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1311, allocations: 31.97 kB / 0.6702 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1311, allocations: 0 / 0.6702 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.1312, allocations: 27.91 kB / 0.6702 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1314, allocations: 7.938 kB / 0.6702 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.1317, allocations: 143.3 kB / 0.6703 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.1319, allocations: 0.6729 MB / 0.671 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.1319, allocations: 11.44 kB / 0.671 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.1319, allocations: 0 / 0.671 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.001832/0.1338, allocations: 0.7718 MB / 0.6718 GB, free: 14.65 MB / 0.5137 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)