Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008319/0.0008319, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007724/0.007725, allocations: 172.6 kB / 16.27 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 19.97 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4267, allocations: 81.57 MB / 0.5837 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006155/0.4273, allocations: 317.3 kB / 0.584 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000441/0.4278, allocations: 188.7 kB / 0.5842 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-06/0.4278, allocations: 0 / 0.5842 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.814e-06/0.4278, allocations: 0.5 kB / 0.5842 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.436e-06/0.4278, allocations: 2.375 kB / 0.5842 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.4281, allocations: 42.77 kB / 0.5842 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.411e-05/0.4282, allocations: 8.844 kB / 0.5842 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.4282, allocations: 4.031 kB / 0.5842 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-06/0.4282, allocations: 0 / 0.5842 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.543e-05/0.4282, allocations: 0 / 0.5842 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-06/0.4282, allocations: 2.5 kB / 0.5842 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.4284, allocations: 67.77 kB / 0.5843 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.4284, allocations: 0 / 0.5843 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.4284, allocations: 27.33 kB / 0.5843 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.4286, allocations: 34.28 kB / 0.5843 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4286, allocations: 0.6562 kB / 0.5843 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4286, allocations: 0 / 0.5843 GB, free: 3.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.4286, allocations: 0 / 0.5843 GB, free: 3.887 MB / 430.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.0002023/0.4288, allocations: 318.5 kB / 0.5846 GB, free: 3.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4288, allocations: 10.31 kB / 0.5847 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.4289, allocations: 1.625 kB / 0.5847 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.656e-05/0.4289, allocations: 165.8 kB / 0.5848 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4289, allocations: 1.812 kB / 0.5848 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-06/0.4289, allocations: 384 / 0.5848 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.23e-05/0.429, allocations: 33.03 kB / 0.5849 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.429, allocations: 192 / 0.5849 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.429, allocations: 8.578 kB / 0.5849 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.4291, allocations: 4.75 kB / 0.5849 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.4291, allocations: 1 kB / 0.5849 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.826e-05/0.4292, allocations: 148.8 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.862e-05/0.4292, allocations: 20.83 kB / 0.585 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.4292, allocations: 10.27 kB / 0.585 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.4298, allocations: 462 kB / 0.5855 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.4299, allocations: 35.53 kB / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.4299, allocations: 0 / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001077/0.43, allocations: 35.67 kB / 0.5855 GB, free: 2.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.43, allocations: 53.44 kB / 0.5856 GB, free: 2.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.585e-05/0.43, allocations: 89.86 kB / 0.5857 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-06/0.43, allocations: 25.7 kB / 0.5857 GB, free: 2.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-06/0.43, allocations: 84.14 kB / 0.5858 GB, free: 2.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.4301, allocations: 5.969 kB / 0.5858 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.4301, allocations: 9.719 kB / 0.5858 GB, free: 2.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.4301, allocations: 317 kB / 0.5861 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.4302, allocations: 0.6562 kB / 0.5861 GB, free: 1.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.4302, allocations: 5.156 kB / 0.5861 GB, free: 1.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.4302, allocations: 9.234 kB / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4302, allocations: 0 / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.717e-05/0.4302, allocations: 35.77 kB / 0.5862 GB, free: 1.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4303, allocations: 10.72 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4303, allocations: 1.375 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4303, allocations: 7.938 kB / 0.5862 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.28e-05/0.4303, allocations: 2.719 kB / 0.5862 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4303, allocations: 0.6562 kB / 0.5862 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.4304, allocations: 0 / 0.5862 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.4304, allocations: 0.6562 kB / 0.5862 GB, free: 1.828 MB / 430.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 3.811e-05/0.4304, allocations: 112.5 kB / 0.5863 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.4304, allocations: 0.8438 kB / 0.5863 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.4305, allocations: 43.75 kB / 0.5863 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4305, allocations: 4.031 kB / 0.5863 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4305, allocations: 0 / 0.5863 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4305, allocations: 1.609 kB / 0.5863 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.803e-05/0.4306, allocations: 148 kB / 0.5865 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4306, allocations: 0 / 0.5865 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.4306, allocations: 7.156 kB / 0.5865 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4306, allocations: 0 / 0.5865 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4306, allocations: 5.734 kB / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4306, allocations: 0 / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4306, allocations: 0 / 0.5865 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.78e-05/0.4307, allocations: 65.2 kB / 0.5865 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.4307, allocations: 79.16 kB / 0.5866 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.4307, allocations: 4.594 kB / 0.5866 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.4307, allocations: 0 / 0.5866 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-06/0.4307, allocations: 2.359 kB / 0.5866 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.4307, allocations: 0 / 0.5866 GB, free: 1.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.062e-05/0.4307, allocations: 76.66 kB / 0.5867 GB, free: 1.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4307, allocations: 4.031 kB / 0.5867 GB, free: 1.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.4309, allocations: 11.19 kB / 0.5867 GB, free: 1.215 MB / 430.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.0001743/0.4311, allocations: 115.9 kB / 0.5868 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.55e-05/0.4312, allocations: 3.375 kB / 0.5868 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4312, allocations: 0 / 0.5868 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-06/0.4312, allocations: 11.14 kB / 0.5868 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.4313, allocations: 1.406 kB / 0.5868 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000117/0.4315, allocations: 76.73 kB / 0.5869 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.4315, allocations: 0.6712 MB / 0.5876 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.004e-05/0.4316, allocations: 0.8125 kB / 0.5876 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-06/0.4316, allocations: 8.375 kB / 0.5876 GB, free: 328 kB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4316, allocations: 0 / 0.5876 GB, free: 328 kB / 430.1 MB Notification: Performance of Templates: time 0.002134/0.4337, allocations: 397.2 kB / 0.588 GB, free: 260 kB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)