Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005189/0.005188, allocations: 101 kB / 15.73 MB, free: 5.992 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.00129/0.00129, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.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.9859/0.9859, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 0.5857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4262, allocations: 80.91 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001864/0.4281, allocations: 0.5694 MB / 0.6652 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004116/0.4285, allocations: 191.9 kB / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.104e-05/0.4286, allocations: 0 / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.4286, allocations: 0 / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.4286, allocations: 5.156 kB / 0.6654 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.429, allocations: 48.75 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.738e-05/0.4291, allocations: 1.094 kB / 0.6655 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.4291, allocations: 5.109 kB / 0.6655 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.4291, allocations: 1.531 kB / 0.6655 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.793e-05/0.4291, allocations: 3.984 kB / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-06/0.4292, allocations: 0 / 0.6655 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.4293, allocations: 57.73 kB / 0.6655 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.4293, allocations: 3.938 kB / 0.6655 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.4294, allocations: 1.5 kB / 0.6655 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.4295, allocations: 32.16 kB / 0.6656 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4295, allocations: 4 kB / 0.6656 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4295, allocations: 0 / 0.6656 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4295, allocations: 0 / 0.6656 GB, free: 6.918 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.000254/0.4298, allocations: 329.5 kB / 0.6659 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4298, allocations: 9.344 kB / 0.6659 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.4299, allocations: 2.594 kB / 0.6659 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.247e-05/0.4299, allocations: 163.1 kB / 0.6661 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4299, allocations: 4.359 kB / 0.6661 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.43, allocations: 1.188 kB / 0.6661 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.4301, allocations: 35.36 kB / 0.6661 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4301, allocations: 1.031 kB / 0.6661 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4301, allocations: 3.938 kB / 0.6661 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4301, allocations: 0 / 0.6661 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.4301, allocations: 10.52 kB / 0.6661 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.4302, allocations: 146.8 kB / 0.6663 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.508e-05/0.4303, allocations: 19.89 kB / 0.6663 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.4303, allocations: 14.02 kB / 0.6663 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006681/0.431, allocations: 452.2 kB / 0.6667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.431, allocations: 38.56 kB / 0.6668 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.431, allocations: 1.375 kB / 0.6668 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.4311, allocations: 37.67 kB / 0.6668 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.4312, allocations: 51.41 kB / 0.6668 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.613e-05/0.4312, allocations: 91.14 kB / 0.6669 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.4312, allocations: 25.7 kB / 0.667 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.06e-05/0.4312, allocations: 84.08 kB / 0.667 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.4313, allocations: 1.406 kB / 0.667 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.4313, allocations: 14.98 kB / 0.6671 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.4313, allocations: 316.2 kB / 0.6674 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.4314, allocations: 8.062 kB / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/0.4314, allocations: 1.25 kB / 0.6674 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.4314, allocations: 7.359 kB / 0.6674 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4314, allocations: 1.219 kB / 0.6674 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.06e-05/0.4315, allocations: 30.11 kB / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4315, allocations: 5.625 kB / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4315, allocations: 0 / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4315, allocations: 7.922 kB / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.4316, allocations: 2.844 kB / 0.6674 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4316, allocations: 4.094 kB / 0.6674 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.4316, allocations: 0 / 0.6674 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4316, allocations: 1.375 kB / 0.6674 GB, free: 4.816 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 4.755e-05/0.4317, allocations: 115.1 kB / 0.6675 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.4317, allocations: 0 / 0.6675 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.4317, allocations: 41.38 kB / 0.6676 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4317, allocations: 0 / 0.6676 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4318, allocations: 1.188 kB / 0.6676 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4318, allocations: 4.031 kB / 0.6676 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.406e-05/0.4318, allocations: 142.8 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4318, allocations: 0 / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.4319, allocations: 1.406 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4319, allocations: 1.5 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4319, allocations: 3.938 kB / 0.6677 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4319, allocations: 0 / 0.6677 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4319, allocations: 5.453 kB / 0.6677 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.163e-05/0.4319, allocations: 62.7 kB / 0.6678 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.432, allocations: 77.11 kB / 0.6679 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.432, allocations: 9.062 kB / 0.6679 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.432, allocations: 0 / 0.6679 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.432, allocations: 5.266 kB / 0.6679 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.432, allocations: 4 kB / 0.6679 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.228e-05/0.432, allocations: 75.28 kB / 0.6679 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.432, allocations: 5.594 kB / 0.668 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002067/0.4322, allocations: 14.25 kB / 0.668 GB, free: 4.184 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.0002025/0.4325, allocations: 117.5 kB / 0.6681 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.4325, allocations: 7.891 kB / 0.6681 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4325, allocations: 0 / 0.6681 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.4326, allocations: 6.656 kB / 0.6681 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4327, allocations: 3.344 kB / 0.6681 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.4329, allocations: 89.16 kB / 0.6682 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.433, allocations: 0.67 MB / 0.6688 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.144e-05/0.433, allocations: 5.078 kB / 0.6688 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.4331, allocations: 8.5 kB / 0.6688 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.4331, allocations: 0 / 0.6688 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Templates: time 0.00231/0.4354, allocations: 403.2 kB / 0.6692 GB, free: 3.059 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)