Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001088/0.001088, allocations: 112.6 kB / 16.37 MB, free: 6 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.001054/0.001054, allocations: 196 kB / 17.31 MB, free: 5.613 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001754/0.346, allocations: 0.5769 MB / 0.5821 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.3465, allocations: 192.9 kB / 0.5823 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.3465, allocations: 0.9062 kB / 0.5823 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.3465, allocations: 0 / 0.5823 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.3465, allocations: 0 / 0.5823 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.3469, allocations: 63.11 kB / 0.5823 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.347, allocations: 1.031 kB / 0.5823 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.347, allocations: 5.141 kB / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.347, allocations: 1.844 kB / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.3471, allocations: 5.094 kB / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.343e-06/0.3471, allocations: 0 / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.3473, allocations: 55.12 kB / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-06/0.3473, allocations: 3.984 kB / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.3473, allocations: 2.625 kB / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3474, allocations: 40.58 kB / 0.5824 GB, free: 26.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3474, allocations: 3.938 kB / 0.5824 GB, free: 26.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3474, allocations: 0 / 0.5824 GB, free: 26.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3474, allocations: 2.219 kB / 0.5824 GB, free: 26.95 MB / 446.1 MB 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.000269/0.3477, allocations: 313.2 kB / 0.5827 GB, free: 26.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3478, allocations: 10.09 kB / 0.5827 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.3478, allocations: 0.9375 kB / 0.5827 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.3479, allocations: 168.4 kB / 0.5829 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3479, allocations: 2.344 kB / 0.5829 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.3479, allocations: 1.125 kB / 0.5829 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.348, allocations: 33.03 kB / 0.5829 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.348, allocations: 192 / 0.5829 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.348, allocations: 5.031 kB / 0.5829 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.348, allocations: 1.094 kB / 0.5829 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.149e-05/0.3481, allocations: 1.062 kB / 0.5829 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.3482, allocations: 144.4 kB / 0.5831 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.3482, allocations: 28.75 kB / 0.5831 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.3482, allocations: 10.58 kB / 0.5831 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/0.3489, allocations: 457.5 kB / 0.5836 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.349, allocations: 33.5 kB / 0.5836 GB, free: 25.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.349, allocations: 0 / 0.5836 GB, free: 25.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.3491, allocations: 47.14 kB / 0.5836 GB, free: 25.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.3491, allocations: 52.72 kB / 0.5837 GB, free: 25.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.038e-05/0.3492, allocations: 93.8 kB / 0.5838 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.3492, allocations: 25.7 kB / 0.5838 GB, free: 25.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.3492, allocations: 85.11 kB / 0.5839 GB, free: 25.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3492, allocations: 3.984 kB / 0.5839 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.3493, allocations: 11.81 kB / 0.5839 GB, free: 25.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.3493, allocations: 321.1 kB / 0.5842 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.3493, allocations: 4.5 kB / 0.5842 GB, free: 24.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.3493, allocations: 2 kB / 0.5842 GB, free: 24.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.3494, allocations: 10.17 kB / 0.5842 GB, free: 24.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3494, allocations: 3.938 kB / 0.5842 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.448e-05/0.3494, allocations: 34.67 kB / 0.5842 GB, free: 24.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3494, allocations: 5.625 kB / 0.5843 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3494, allocations: 0.5 kB / 0.5843 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3495, allocations: 3.938 kB / 0.5843 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.563e-05/0.3495, allocations: 3.219 kB / 0.5843 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3495, allocations: 7.969 kB / 0.5843 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.3495, allocations: 2.344 kB / 0.5843 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3495, allocations: 1.188 kB / 0.5843 GB, free: 24.86 MB / 446.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 (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.538e-05/0.3496, allocations: 107.1 kB / 0.5844 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.3496, allocations: 5.531 kB / 0.5844 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.3497, allocations: 36.27 kB / 0.5844 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.3497, allocations: 2.5 kB / 0.5844 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3497, allocations: 0 / 0.5844 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3497, allocations: 3.984 kB / 0.5844 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.801e-05/0.3498, allocations: 150.2 kB / 0.5846 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3498, allocations: 0 / 0.5846 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.3498, allocations: 2.125 kB / 0.5846 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.3498, allocations: 0 / 0.5846 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3498, allocations: 5.312 kB / 0.5846 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3498, allocations: 0 / 0.5846 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3498, allocations: 0 / 0.5846 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.131e-05/0.3499, allocations: 60.22 kB / 0.5846 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3499, allocations: 78.58 kB / 0.5847 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.3499, allocations: 4.781 kB / 0.5847 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.3499, allocations: 1.344 kB / 0.5847 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.3499, allocations: 0.5625 kB / 0.5847 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.3499, allocations: 3.594 kB / 0.5847 GB, free: 24.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.35, allocations: 75.28 kB / 0.5848 GB, free: 24.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.35, allocations: 0 / 0.5848 GB, free: 24.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.3502, allocations: 19.67 kB / 0.5848 GB, free: 24.25 MB / 446.1 MB 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.0001959/0.3504, allocations: 118.6 kB / 0.5849 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.3505, allocations: 6.984 kB / 0.5849 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3505, allocations: 5.344 kB / 0.5849 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.3505, allocations: 1.844 kB / 0.5849 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.3506, allocations: 6.656 kB / 0.5849 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.3508, allocations: 82.73 kB / 0.585 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.3509, allocations: 0.6702 MB / 0.5857 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.3509, allocations: 5.219 kB / 0.5857 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.086e-05/0.3509, allocations: 8.719 kB / 0.5857 GB, free: 23.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3509, allocations: 0 / 0.5857 GB, free: 23.34 MB / 446.1 MB Notification: Performance of Templates: time 0.002366/0.3533, allocations: 411 kB / 0.5861 GB, free: 23.15 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)