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.001516/0.001516, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 199.6 kB / 16.79 MB, free: 6.828 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 72.56 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002623/0.1575, allocations: 1.481 MB / 0.5858 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005982/0.1581, allocations: 256.1 kB / 0.586 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.1581, allocations: 0 / 0.586 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.1582, allocations: 7.984 kB / 0.586 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.1582, allocations: 0 / 0.586 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1585, allocations: 47.89 kB / 0.5861 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.1586, allocations: 23.92 kB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.1587, allocations: 4 kB / 0.5861 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.1587, allocations: 3.938 kB / 0.5861 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.1588, allocations: 11.98 kB / 0.5861 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1588, allocations: 0 / 0.5861 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1589, allocations: 75.86 kB / 0.5862 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.1589, allocations: 0 / 0.5862 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.159, allocations: 11.94 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.1591, allocations: 27.94 kB / 0.5862 GB, free: 3.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1591, allocations: 4 kB / 0.5862 GB, free: 3.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1591, allocations: 0 / 0.5862 GB, free: 3.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1591, allocations: 0 / 0.5862 GB, free: 3.035 MB / 494.1 MB 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.000449/0.1596, allocations: 351.7 kB / 0.5866 GB, free: 2.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1596, allocations: 8.031 kB / 0.5866 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1596, allocations: 4.938 kB / 0.5866 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1598, allocations: 168.3 kB / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1598, allocations: 384 / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1598, allocations: 384 / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.16, allocations: 58.11 kB / 0.5868 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.16, allocations: 192 / 0.5868 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.16, allocations: 7.922 kB / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.16, allocations: 0 / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1602, allocations: 39.95 kB / 0.5869 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1605, allocations: 248.9 kB / 0.5871 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1606, allocations: 38.44 kB / 0.5871 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.1607, allocations: 28.89 kB / 0.5872 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/0.1614, allocations: 453.5 kB / 0.5876 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1614, allocations: 30.56 kB / 0.5876 GB, free: 1.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.1614, allocations: 4 kB / 0.5876 GB, free: 1.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003436/0.1617, allocations: 77.64 kB / 0.5877 GB, free: 1.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1618, allocations: 55.41 kB / 0.5877 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.1619, allocations: 105.8 kB / 0.5878 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1619, allocations: 25.7 kB / 0.5879 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.1619, allocations: 84.14 kB / 0.588 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.1619, allocations: 3.906 kB / 0.588 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.162, allocations: 13.72 kB / 0.588 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1621, allocations: 323 kB / 0.5883 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.1622, allocations: 11.98 kB / 0.5883 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.1623, allocations: 19.98 kB / 0.5883 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.1624, allocations: 36.81 kB / 0.5883 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1624, allocations: 0 / 0.5883 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.1626, allocations: 69.67 kB / 0.5884 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1626, allocations: 6.344 kB / 0.5884 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1627, allocations: 4 kB / 0.5884 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1627, allocations: 3.938 kB / 0.5884 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.1628, allocations: 7.984 kB / 0.5884 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1628, allocations: 0 / 0.5884 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.1628, allocations: 7.984 kB / 0.5884 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1628, allocations: 32 / 0.5884 GB, free: 480 kB / 494.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 (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 7.177e-05/0.1629, allocations: 117.8 kB / 0.5886 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1629, allocations: 4 kB / 0.5886 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.1632, allocations: 72.72 kB / 0.5886 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1632, allocations: 0 / 0.5886 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1632, allocations: 0 / 0.5886 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1632, allocations: 0 / 0.5886 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1634, allocations: 165.5 kB / 0.5888 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1634, allocations: 4 kB / 0.5888 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1634, allocations: 15.92 kB / 0.5888 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1634, allocations: 0 / 0.5888 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1634, allocations: 4 kB / 0.5888 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1635, allocations: 3.938 kB / 0.5888 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1635, allocations: 0 / 0.5888 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1637, allocations: 167.5 kB / 0.589 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1638, allocations: 81.05 kB / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1638, allocations: 0 / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.1639, allocations: 7.984 kB / 0.5891 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1639, allocations: 4 kB / 0.5891 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1639, allocations: 0 / 0.5891 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.164, allocations: 83.28 kB / 0.5891 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.164, allocations: 0 / 0.5891 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.1642, allocations: 19.98 kB / 0.5892 GB, free: 15.63 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.0001871/0.1644, allocations: 111.6 kB / 0.5893 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.1646, allocations: 39.89 kB / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1646, allocations: 0 / 0.5893 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.1647, allocations: 24.05 kB / 0.5893 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.165, allocations: 7.938 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.1652, allocations: 136.9 kB / 0.5895 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1655, allocations: 0.677 MB / 0.5901 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.1655, allocations: 7.438 kB / 0.5901 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1655, allocations: 0 / 0.5901 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.001965/0.1675, allocations: 0.7614 MB / 0.5909 GB, free: 13.8 MB / 0.4981 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)